Thursday 19 March 2015

Journey through JavaScript MVC Framework

It’s always provocation to choose an adroit Framework. For such a challenging requirements it is must to work with a highly efficient Framework.

JavaScript MVC is an Open source Framework which is based on jQuery and Open Ajax.
It is use Model - View – Controller architecture for Testing. It is an Open source Framework so it can be work well with the different Server side application like Asp.net, php, rubby , java etc. It can be well performed with all this applications.

This modern frameworks provide developers an easy path to organize their path code using variation of a pattern known as MVC.

  1. Model :  represent the domain specific knowledge and data in an application.
  2. View :  JavaScriptMVC uses EJS templates to render HTML data in controllers and inject them into the DOM.
  3. Controller : A controller is a list of functions that gets called back when the appropriate event happens.

When we need a JavaScript MVC Framework?
When building a single-page application using JavaScript, whether it involves a complex user interface or is simply trying to reduce the number of HTTP requests required for new Views, you will likely find yourself inventing many of the pieces that make up an MV* framework.

At the outset, it isn’t terribly difficult to write your own application framework that offers some opinionated way to avoid spaghetti code; however, to say that it is equally as trivial to write something as robust as Backbone would be a grossly incorrect assumption.

There’s a lot more that goes into structuring an application than tying together a DOM manipulation library, templating, and routing. Mature MV* frameworks typically include not only the pieces you would find yourself writing, but also include solutions to problems you’ll find yourself running into later on down the road.

List of Popular JavaScript MVC Framework:
Backbone.js AngularJS
Ember.js Knockout
Agility.js CanJS
Spine Maria
ExtJS Sammy.js
Stapes.js Epitome
soma.js PlastronJS
rAppid.js Serenade.js
Kendo UI

1 comment: