• 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 using Core Data?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multi-User using Core Data?


  • Subject: Re: Multi-User using Core Data?
  • From: Jeff LaMarche <email@hidden>
  • Date: Thu, 9 Jun 2005 16:50:15 -0400

Apple obviously made a conscious decision not to support remote databases with Core Data - they already had an architecture in place to do it (EOF), so it clearly could have been done had they really wanted to. I have no reason if their reason not to include that support was technical, political, or what, but that being said, there are a couple of options give use a single data store for applications on separate machines.

1) You could make the SQLite data file location a preference value, and set it to a network drive location.
2) You could write a small, headless server application that would vend the data to you client applications using Distributed Objects.
3) Create a subclass of NSPersistentStoreCoordinator that uses a remote database. This would be no mean feat, but you would likely make many friends by doing it =)



On Jun 9, 2005, at 11:59 AM, J. Scott Anderson wrote:

I am looking for examples/ideas/tips for how to make a Core Data application multi-user. The idea would be for a common SQLite database to be accessed by the application from several different computers. Is this even possible with Core Data today? Searches of the documentation and Goggling have not produced anything helpful yet. Thanks for any pointers.

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Multi-User using Core Data?
      • From: Nicko van Someren <email@hidden>
References: 
 >Multi-User using Core Data? (From: "J. Scott Anderson" <email@hidden>)

  • Prev by Date: Re: Don't get an initial tableViewSelectionDidChange
  • Next by Date: Save as panel with a default filename?
  • Previous by thread: Re: Multi-User using Core Data?
  • Next by thread: Re: Multi-User using Core Data?
  • Index(es):
    • Date
    • Thread