I tried to understand the utility of backbone.js from its site http://documentcloud.github.com/backbone, but I still couldn’t figure out much.
Model is part of your code that retrieves and populates the data,
View is the HTML representation of this model (views change as models change, etc.)
Some pros that I discovered with Backbone:
jQuery.data(bla, bla): no need to store data in DOM, store data in models instead
event binding just works
extremely useful Underscore utility library
backbone.js code is well documented and a great read. Opened my eyes to a number of JS code techniques.
Here is a set of great tutorials on using Backbone with Rails as the back-end:
CloudEdit: A Backbone.js Tutorial with Rails:
p.s. There is also this wonderful Collection class that lets you deal with collections of models and mimic nested models, but I don’t want to confuse you from the start.