On Mon, Aug 30, 2010 at 5:14 AM, Chris Hanson <c...@me.com> wrote: > On Aug 28, 2010, at 10:00 AM, Andy Bell <andy.b...@allbabel.com> wrote: > > > At a later date I want to use something like REST using JSON to be the > backend to Core Data in the application. Is this going to be possible? > > Core Data only has API for creating your own atomic persistent stores - > that is, persistent stores whose entire contents are read or written at > once. This means it doesn't really make sense to talk about REST or JSON as > a "back-end" to Core Data. > > What does make sense - and is quite common - is using a Core Data SQLite > persistent store as a local cache for data on a server, or as a local > database synchronized (via your own mechanism) with a server. > > Thanks, that makes a lot of sense. So I can code and design the application using Core Data and then later use the same local backend as a cache for an online database using whatever protocol to synchronise the local database.
Andy _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com