Backbone.dualStorage
Backbone.dualStorage copied to clipboard
A dual (localStorage and REST) sync adapter for Backbone.js
Fix for the issue parse / toJSON applied inconsistent #111 The solution is more a workaround then a real solution... The code base should be refactored. The local sync should...
I'm fresh baby bum new to backbone.js so go easy. I have a customer profile model that I want to use dualstorage on, there is no need for a collection....
Since dualStorage uses underscore fonctionnalities, would the line #9 should look like this ? })(this, function(Backbone, _) { I am getting error "_ is not defined" (within the amd version...
Right now, `localsync` `create` does some things differently depending on the `add` and `merge` options. Should it be? Localsync should probably emulate/mirror the server response, and not care what options...
Can I use localForage instead of localstorage? What part of code needs to be changed to support localForage?
Let's say I have POSTed an item and am online. I go offline and delete it, and then go back online. The item is deleted from the server. So far...
Submitted primarily for review and discussion - keeping the diff very short. Note that this is implemented in terms of Store to maintain abstraction of the storage layer. - Make...
Some APIs (flickr) require you to call multiple endpoints before returning useful data. In these cases, you need to return a promise for the data in parseBeforeLocalSave that gets resolved...
Remote sync is then achieved by calling `syncDirtyAndDestroyed()`.
Opening this ticket as a continuation of #23. @nilbus wrote: > How do you feel about Backbone.dualStorage using Lawnchair instead of directly using localStorage? Lawnchair will persist using localStorage, but...