What is Backbone.js and why to use it?Print
Key Points about Backbone
It has a hard dependency with Underscore.js to make itself more functional and supporting a range of useful collection-based operations.
It has a soft dependency with jQuery.
It can update the HTML of your application automatically when the model changes.
It offers a significantly clean and elegant way for DOM manipulations and UI updates.
Getting started with Backbone
To setup a working environment for Backbone, you need following three js files: jQuery, Backbone, Underscore. Put these three files with in js folder of your application and use it in your index.html page.
What do you think?
I hope you will enjoy the Backbone.js while developing SPA. I would like to have feedback from my blog readers. Your valuable feedback, question, or comments about this article are always welcome.