Backbone.dualStorage icon indicating copy to clipboard operation
Backbone.dualStorage copied to clipboard

A dual (localStorage and REST) sync adapter for Backbone.js

Results 27 Backbone.dualStorage issues
Sort by recently updated
recently updated
newest added

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...

Bug
Missing Feature
Backward Incompatible

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....

Missing Feature

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...

Bug

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...

Missing Feature

Can I use localForage instead of localstorage? What part of code needs to be changed to support localForage?

Idea
async

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...

Improvement

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...

async

Remote sync is then achieved by calling `syncDirtyAndDestroyed()`.

Idea
lazy sync

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...

Improvement
async
Backward Incompatible