backbone
have dependencies, depend on underscore.js
. the HTTP Backbone + Underscore + jQuery(or Zepto)
request is 2 more times than one . AngularJS
Backbone
of theModel
instead of binding to the UI view data, you need to manipulate the DOM yourself in view to update or read the UI data. AngularJS
In contrast, the model is bound directly to the UI view,Model
The relationship to the UI view, bydirective
encapsulation,AngularJS
built -in Universaldirective
, you can do most of the work, which means you don't have to careModel
The relationship with the UI view, the direct operation of the model on the line, the UI view automatically updated.
AngularJS
of the directive
, you enter specific data, and he can output the corresponding UI view. is a more complete front-end MVW framework, including templates, data bi-directional binding, routing, modularization, service, dependency injection and other functions, template powerful rich, and is declarative, with a wealth of Angular instructions.
The 33rd day of the Day of love creation-how to evaluate Angularjs and Backbonejs?