News for hackers. Stuff that matters.
Re:Announcing Backbone.js: Models, Collections and Views in ... by jashkenas on Thursday October 14, 2010 @07:21AM (#1790521)
Offline support is up to the developer -- there are many applications where the notion doesn't make sense: imagine an offline Google or and offline Twitter. But having nice logical models certainly helps organize an offline application.

The first thing you would do is override Backbone.sync to save your models to Local Storage instead of the server:

http://documentcloud.github.com/backbone/#Sync

There are no comments on this comment yet.