Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

AngularJS Comparison with Backbone, Knockout – Part 3

DZone's Guide to

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.

Free Resource

Add user login and MFA to your next project in minutes. Create a free Okta developer account, drop in one of our SDKs to your application and get back to building.

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.


Launch your application faster with Okta’s user management API. Register today for the free forever developer edition!

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.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}