by Santhakumar Munuswamy
Posted on 12 July 2015
AngularJS
This article explains the AngularJs comparison with a backbone.js and knockout.js and its feature discussion to here.
I have provided basics of AngularJs in my previous article and now we will explain the difference between AngularJs vs Backbone.js, and Knockout.js. How is a difference AngularJs like data bindings, views, data, routing, testing and so on? Here are the links:
Comparison with Backbone.js and Knockout.js
Comparison
|
AngularJs
|
Backbone.js
|
Knockout.js
|
File Size
|
~142 KB total (compressed and minified
|
~ 7.3 KB total (gzip / minified)
|
~21 KB total (gzip / minified)
|
Version & Licence
|
V1.4.2 & MIT (Open source)
|
V1.2.1 & MIT (Open Source)
|
V3.3.0 & MIT (Open Source)
|
Dependencies
|
No Dependencies
|
It is dependencies with an underscore.js and jQuery
|
No Dependencies
|
Data Binding
|
It is support full data binding and provides option for create a custom data bindings
|
It is not support data binding by default but it is available plugins for data bindings
|
It is support fully data binding and can able to bind many attributes. It is provides option for create a custom data bindings
|
Routing
|
It is support routing feature and it's very simple
|
It is support routing feature and it's very simple
|
It is not support routing by defualt but it is available some thrid party libraries
|
Views
|
It is use HTML as templating language
|
It is not available template by default but we can add easily to thrid party template like underscore.js and handlebars
|
It is use HTML as templating language
|
Testing
|
It can support to Test Driven Development (TDD)
|
It is not support testing by defualt but we can use some thrid party like Jasmine and Sinon.JS
|
It is not support testing by defualt but we can use some thrid party like Jasmine and Sinon.JS
|
Data
|
It is not support jQuery but we can use Angular's $http
|
It can support jQuery's $.ajax with understand very easily
|
It can support jQuery's $.ajax and knockout mapping
|
Design Pattern
|
It can support MVC and MVVM design pattern
|
It can support MVP design pattern
|
It can support MVVM design pattern
|
Browser
|
It can support IE 9, IE 10 and IE 11
|
It is dependencies (jQuery) supporting browser like IE 6+, Chrome, Firefor, Safari 5.1+ and Opera
|
It can support all major browser like IE 6+, Firefox 3.5+, Chrome, Opera and Safari
|
Third Party Integration
|
It is not support thrid party integration
|
It is support thrid party integration
|
It is support thrid party integration
|
Documentation
|
It is available documentation and community
|
It is my knowladge no documentaion
|
It is available documentation and community
|
Conclusion
This article helps you to understand the AngularJs comparison with Backbone.js, Knokout.js and its features.
Thank you for reading my articles. Please kindly share your valuable comments and suggestion with me..