3 ms·
This is great, I love web interfaces that are completely async where you can do whatever you want in realtime and it "magically" gets stored on the server for m
by overshard 15y ago
This is great, I love web interfaces that are completely async where you can do whatever you want in realtime and it "magically" gets stored on the server for me later.
This just makes loading up a page even faster as the data is more than likely already on your computer.
Will this work for offline? If someone views a todolist, makes some changes offline, then visits it later online will it sync the changes automatically?
- lucian1900 15y agoNot entirely automatically. The app would have to explicitly sync the model when it believes it can. I do plan to add a helper for that, that keeps a list of unsynced models. Then a function could be called when the server is reachable, or just periodically.
- overshard 15y agoI look forward to seeing it. I definitely plan on using this in the future when that functionality is added.
- zbuc 15y agoI worked on a cross domain CouchDB connector(using the postmessage and eventsource APIs) for Backbone that would work pretty well with this.
- iusable 15y agoThis helper + the PhoneGap network event monitoring would make this indispensable for a bunch of projects. I know I would love it. Anyway I can 'tip' your work?
- lucian1900 15y agoI've done this on company time so far, since we're using it for a product and atm I wouldn't have enough free time to work on it otherwise. We're going to release soon, so in the next few weeks I'm likely to add dirty model syncing.