• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Core Data and REST
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data and REST


  • Subject: Re: Core Data and REST
  • From: Andy Bell <email@hidden>
  • Date: Mon, 30 Aug 2010 09:42:14 +0200

On Mon, Aug 30, 2010 at 5:14 AM, Chris Hanson <email@hidden> wrote:

> On Aug 28, 2010, at 10:00 AM, Andy Bell <email@hidden> 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 (email@hidden)

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:

This email sent to email@hidden

References: 
 >Core Data and REST (From: Andy Bell <email@hidden>)
 >Re: Core Data and REST (From: Chris Hanson <email@hidden>)

  • Prev by Date: Re: how do I get tracking, selection etc working with custom views in NSMenuItems?
  • Next by Date: Re: Transparant button click
  • Previous by thread: Re: Core Data and REST
  • Next by thread: AVAudioPlayer lags (and not from instantiating it)
  • Index(es):
    • Date
    • Thread