Re: 2-way off-line syncing with EOF and CoreData
Re: 2-way off-line syncing with EOF and CoreData
- Subject: Re: 2-way off-line syncing with EOF and CoreData
- From: Pascal Robert <email@hidden>
- Date: Sat, 09 Mar 2013 11:23:17 -0500
> 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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden