• 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: Multi-User DB That Talks to Core Data?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multi-User DB That Talks to Core Data?


  • Subject: Re: Multi-User DB That Talks to Core Data?
  • From: Kyle Sluder <email@hidden>
  • Date: Fri, 14 Aug 2009 10:13:48 -0700

On Aug 14, 2009, at 10:02 AM, Brad Gibbs <email@hidden> wrote:

I'm trying to create a single-user app that uses Core Data, but gets the data for its object graph from a multi-user database app. For instance, product information stored in the main database app could be exported to a catalog in the Core Data-based app. The user can build a system in the CD-based app and the built system can be imported back into the main database.

Like I said, you're going to want to look elsewhere. Core Data doesn't support the pattern you want, unless you're willing to send the entire persistent store over the network for each read and write. All custom store types mist be atomic.


You might want to consider using Core Data on the backend and presenting a custom interface to clients (a la Web Services, or a RESTful interface). Then if it makes sense the client can use an in- memory store, hooking into Core Data notifications to perform it's updates. But at that point you might just want to serialize NSDictionaries over the wire.

--Kyle Sluder

_______________________________________________

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


  • Follow-Ups:
    • Re: Multi-User DB That Talks to Core Data?
      • From: Brad Gibbs <email@hidden>
References: 
 >Multi-User DB That Talks to Core Data? (From: Brad Gibbs <email@hidden>)
 >Re: Multi-User DB That Talks to Core Data? (From: Kyle Sluder <email@hidden>)
 >Re: Multi-User DB That Talks to Core Data? (From: Brad Gibbs <email@hidden>)

  • Prev by Date: Re: Multi-User DB That Talks to Core Data?
  • Next by Date: Re: Multi-User DB That Talks to Core Data?
  • Previous by thread: Re: Multi-User DB That Talks to Core Data?
  • Next by thread: Re: Multi-User DB That Talks to Core Data?
  • Index(es):
    • Date
    • Thread