32

I'm looking for an approach or a library that handles this. the idea is to store data in localstorage and sync to the backend when a connection is available, http://pouchdb.com/ looks like a cool solution but anyone has use it on production?

UPDATE:

Right now you can also use:

4

3 回答 3

10

Haven't used it yet, but familiar w/ the concepts behind BreezeJS from their other offerings in .NET. Check it out http://www.breezejs.com/ and here's Ward Bell presenting it to the Googlers http://www.youtube.com/watch?v=P2ErSQj3SN8&feature=player_profilepage

于 2013-03-19T13:55:31.207 回答
2

you can also take a look at jaydata http://jaydata.org/blog/synchronized-online-offline-data-applications-part-2-syncing-large-tables-and-tables-with-foreign-relations

于 2013-03-19T15:41:31.457 回答
-1

breezejs is not a sync solution! if server data changes what happen in local data if some recordes deleted on server after last update local data must sync after a method called sync in other word some date must come back to client after calling savechange that tell client db to be sync with server

于 2014-07-05T09:13:08.600 回答