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