• 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: CoreData local and on server sync
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CoreData local and on server sync


  • Subject: Re: CoreData local and on server sync
  • From: Ben Trumbull <email@hidden>
  • Date: Mon, 23 Jun 2008 14:03:40 -0700

The way that I did before was, creating my own local database, en then when there was a change, replicate the changed data, using DO, to the server.

But then I have to keep things in memory.

I was hoping for new ideas or that In the Snow version was something new.
I guess the way to go is, use a local SQL store with CoreData, and replicate the changed data from local to the server using DO.
The server will also have coredata using SQL.

People have done that.

But what should I do?

1. The server should have multiply network entries/connections, but
only one entry to the coredata > SQL

This is a lot simpler, and probably what you want to start with.

2. The server should have multiply network entries/connections, and equal multiply entries to the coredata > SQL <- will coredata keep the data uptodate from different read/write requests ( entries) of the
same data? If f.e one connection do a request for data A and change something of data A, that a second connection who want also read Data
A get the update data?

On 10.5 that's possible, but tricky. It requires attention to a lot of details, like staleness intervals, merge policies, and refreshing objects.
--


-Ben
_______________________________________________

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


  • Prev by Date: Re: Learning SQLite by watching Core Data?
  • Next by Date: NSDateFormatter -- accepting different formats at runtime
  • Previous by thread: Re: CoreData local and on server sync
  • Next by thread: NSPanel should not close on command-W
  • Index(es):
    • Date
    • Thread