Need advice about which tool to choose?Ask the StackShare community!
Backbone.js vs CanJS: What are the differences?
Developers describe Backbone.js as "Give your JS App some Backbone with Models, Views, Collections, and Events". Backbone supplies structure to JavaScript-heavy applications by providing models key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing application over a RESTful JSON interface. On the other hand, CanJS is detailed as "Build CRUD apps in fewer lines of code". CanJS is an evolving and improving set of client-side JavaScript architectural libraries that balances innovation and stability. It targets experienced developers building complex applications with long futures ahead of them.
Backbone.js and CanJS can be categorized as "Javascript MVC Frameworks" tools.
Backbone.js and CanJS are both open source tools. Backbone.js with 27.5K GitHub stars and 5.68K forks on GitHub appears to be more popular than CanJS with 1.76K GitHub stars and 411 GitHub forks.
Pros of Backbone.js
- Javascript structure135
- Models101
- Simple98
- Restful76
- Easy api59
- Flexible46
- Open source45
- Fast to pick up44
- Events34
- JSON25
- OOP8
- Lightweight2
- Collections1
- Easy customizable1
Pros of CanJS
Sign up to add or upvote prosMake informed product decisions
Cons of Backbone.js
- Requires underscore.js1