Home>Article>Web Front-end> What are the mvc frameworks for javascript?
JavaScript MVC frameworks include: Backbone.js, SproutCore, Sammy.js, Cappuccino, Knockout.js, GWT, Google Closure, Ember.js, Angular, Batman.js, etc.
The operating environment of this tutorial: windows7 system, javascript version 1.8.5, Dell G3 computer.
JavaScript MVC Framework:
Backbone.js - Pros: Strong community, strong momentum; Cons: Weak abstraction, many Functions need to be added urgently.
SproutCore - Advantages: Support for binding, reliable community, large number of features; Disadvantages: Over-specification, difficult to decouple from unnecessary features.
Sammy.js - Advantages: Easy to learn and easier to integrate with existing server-side applications; Disadvantages: Too simple to be used in large applications.
Spine.js - Advantages: lightweight, well-documented; Disadvantages: Its core concept "spine" is an asynchronous user interface, which means that the ideal user interface is always A blockage will not occur and this foundation is defective.
Cappuccino - Pros: Large well-thought-out framework, good community, great inheritance model; Cons: Created by iOS developers, using JavaScript to emulate Objective-C.
Knockout.js - Advantages: Support for binding, complete documentation and tutorials; Disadvantages: Poor binding syntax, lack of unified view component hierarchy.
Javascript MVC - Advantages: Reliable community; Disadvantages: Poor string-based inheritance model, too close relationship between controller and view and lack of binding.
GWT (Google Web Toolkit) - Advantages: comprehensive framework, good community, reliable Java-based component inheritance model; Disadvantages: may not withstand the test of time, in addition, Java's abstraction on the client side is a bit clunky.
Google Closure——Advantages: Very good component-based UI composition system. Disadvantages: Lack of UI binding support.
Ember.js - Advantages: Very rich template system, with composite views and UI binding; Disadvantages: Relatively new, documentation is not complete.
Angular.js - Advantages: Good consideration of template scope and controller design, has a dependency injection system, and supports rich UI binding syntax. Disadvantages: The modularity of the code is not strong, and the modularity of the view is not enough.
Batman.js——Advantages: clear code, simple binding and persistence methods; disadvantages: singleton controller is used.
[Recommended learning:javascript advanced tutorial]
The above is the detailed content of What are the mvc frameworks for javascript?. For more information, please follow other related articles on the PHP Chinese website!