> All, > > I'm building a project that will use WOnder on the back end, and one front > end will be an iOS app (most likely with CoreData). I plan to have a common > model, where objects can move freely from server to client with > synchronization. > > One of my requirements is for the mobile app to be able to save objects when > offline. One idea I had was for the ID of objects created on the mobile app > would be some kind of temporary global ID, so that when connectivity is > reestablished, the temp objects in the CoreData DB can be sent up to the > server, receiving real ID's in the process.
You could a remote ID and local ID instead. Or you use a eTag (representation of your object as a hash, and you check if the server have the same eTag as your app). > Are there any additions in WOnder to help this along? I'm not sure ERRest > would help, since it seems like constant connectivity is a prerequisite. Any > thoughts? https://github.com/davidAtGVC/RemoteSync http://www.wocommunity.org/podcasts/wowodc/2011/Remote_sync.mov http://fr.slideshare.net/wocommunity/practical-er-sync _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
