Re: Embedded database server or CoreData?
Re: Embedded database server or CoreData?
- Subject: Re: Embedded database server or CoreData?
- From: Bill Bumgarner <email@hidden>
- Date: Thu, 11 Jan 2007 21:11:55 -0800
On Jan 11, 2007, at 8:56 PM, Marcel Weiher wrote:
On 11 Jan 2007, at 17:36, mmalc crawford wrote:
*One* feature of Core Data is that it can commit data to and
retrieve data from a persistent store. There is no requirement,
however, for the data to be made persistent. Moreover, perhaps the
more interesting and useful feature is that it provides object
graph management.
Funny that. I keep hearing that this "object graph management" is
interesting and useful, but somehow I've never wanted an object-
graph management system, and can't come up with any reasons for
wanting one apart from when I am *forced* to deal with external
databases.
Apart from that specific case, my object graphs have always managed
themselves just dandy, and persistence is a quick'n'easy process.
So I keep wondering: why is this useful?
Automatic Undo / redo. Relationship management. Automatic
validation. Transaction management (that editing context thing). To
name a few.
Personally, I don't like re-writing any of that code (nor have I built
up piles of solutions to these problems that I can move forward across
new projects) and, as such, I use CoreData to manage the model layer
of all of my apps, typically using an in-memory store and often using
various completely standalone models in isolated Core Data stacks.
And, of course, there is actually a tremendous amount of subtlety in
all of the above. Having trained Cocoa / OpenStep / NeXTSTEP classes
over the years, dealing with model related issues was one of the most
difficult areas for new developers to grasp, architect and debug.
b.bum
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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