I am very new to Javascript MVC frameworks and have a question related to Backbone.js
It is said that Backbone.js is very helpful when there are a lot of DOM manipulation.
Could you please give a practical example for the same. Like how using backbone.js would help make the code cleaner by having the DOM manipulation/HTML for presentation separate?
How can it be used for common functionalities ?
Also any other practical examples of how Backbone.js is useful would be really helpful.
I have already gone through the tutorials on http://documentcloud.github.com/backbone/ But could not find some basic examples..
Thank you.
Welcome to the wonderful world of MVVM! If you’re new to it, I’d recommend starting out with Knockout JS – they have some good tutorials over at http://learn.knockoutjs.com/ that outline the advantages of the approach. I found Knockout a lot easier to work with than Backbone.