• 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 issue when updating a file format
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CoreData issue when updating a file format


  • Subject: Re: CoreData issue when updating a file format
  • From: SA Dev <email@hidden>
  • Date: Wed, 11 May 2005 13:40:47 -0400


All very true and valid, but I don't think whether it's a 'new' model is what's in question here. Rather, we're all wondering (myself included) just how to handle the actual coded act of intelligently differentiating between the 'old' and 'new' model at load time, then properly handling the merge or migrate scenarios. Even in good DB design, migrations are sometimes unavoidable.



On May 11, 2005, at 1:36 PM, James Dessart wrote:

On 5/11/05, Bruno Blondeau <email@hidden> wrote:


All these solutions are real nightmares... I thought CoreData was
supposed to help developers make things easiers.


What it makes easier is writing the data model, and getting prototype UIs going. When the data model's easier to put together, it gives you more time to leave room for expansion as well.

In any case, CoreData makes it easier to properly design and implement
a good model. For that you need to know how to design a good model,
and that involves doing things to make your model expandable. Read up
on database design, and you'll see that adding columns to an existing
table generally isn't the solution suggested, you just add an extra
table. In CoreData, if you need to store new data in your new version,
you create a new model. It can extend the old one, but the point is
that it's a _new_ model.

--
James Dessart
Blog: http://skwirl.net/
Software dev. services: http://skwirl.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40silentalcove.net


This email sent to email@hidden


_______________________________________________ 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: CoreData issue when updating a file format
      • From: mmalcolm crawford <email@hidden>
    • Re: CoreData issue when updating a file format
      • From: James Dessart <email@hidden>
References: 
 >Re: CoreData issue when updating a file format (From: Bruno Blondeau <email@hidden>)
 >Re: CoreData issue when updating a file format (From: James Dessart <email@hidden>)

  • Prev by Date: Re: CoreData issue when updating a file format
  • Next by Date: Re: NSWorkspace POST to URL ?
  • Previous by thread: Re: CoreData issue when updating a file format
  • Next by thread: Re: CoreData issue when updating a file format
  • Index(es):
    • Date
    • Thread