Over a million developers have joined DZone.

AngularJS Comparison with Backbone, Knockout – Part 3

A simple table that compares AngularJS, Backbone.js, and Knockout.js by data binding, views, routing and much more in a simple table.

Make the transition to Node.js if you are a Java, PHP, Rails or .NET developer with these resources to help jumpstart your Node.js knowledge plus pick up some development tips.  Brought to you in partnership with IBM.

I've written some articles on Angular topics before, but this the third and final comparison section.

You can also read this article on my blog here

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

Underscore.js and jQuery

No Dependencies

Data Binding

Full data binding and provides options for creating custom data bindings

No data binding support by default, but plugins can in bring that feature

Full data binding support and can bind many attributes.
Options for creating a custom data bindings
 

Routing

Supported, very simple

Supported, very simple

No support, but it's available through thrid party libraries

Views

HTML

None by default but can be added with libraries like underscore.js and handlebars.js

HTML

Testing

Supports TDD

Only through thrid party libraries like Jasmine and Sinon.JS

Only through thrid party libraries like Jasmine and Sinon.JS

Data

Supports jQuery but you can also use Angular's $http

Support jQuery's $.ajax

Supports jQuery's $.ajax and knockout mapping

Design Pattern

Supports MVC and MVVM design patterns

Supports the MVP design pattern

Supports the MVVM design pattern

Browser Support

IE 9, IE 10 and IE 11

Uses jQuery to support IE 6. Supports Chrome, Firefox, Safari 5.1+, and Opera

IE 6+, Firefox 3.5+, Chrome, Opera, and Safari

Third Party Integration

Not supported

Supports thrid party integrations

Supports thrid party integrations

Documentation

Yes

Yes

Yes

Conclusion

Hope this helps you understand the feature differences between AngularJS, Backbone.js, and Knokout.js.


Learn why developers are gravitating towards Node and its ability to retain and leverage the skills of JavaScript developers and the ability to deliver projects faster than other languages can.  Brought to you in partnership with IBM.

Topics:
angular js ,backbone.js ,knockout.js

Published at DZone with permission of Santhakumar Munuswamy. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}