JavaScript MVC Style Framework in Less Than 100 Lines of Code

added by DotNetKicks
2/2/2015 9:27:56 PM

1 Kicks, 150 Views

Anyone who has ever worked on JavaScript frameworks like AngularJS, Backbone or Ember is familier with how the concept of mvc works on the UI. These frameworks make it very easy for us to implement custom views based on the url in a single page application. In fact that is the core of the model-view-controller terminology, and that is to have a controller to handle incoming requests, a view to show the information and the model for everything else from business rules to data-access.