Re: Cocoa Technologies Back-Story?
Re: Cocoa Technologies Back-Story?
- Subject: Re: Cocoa Technologies Back-Story?
- From: Scott Stevenson <email@hidden>
- Date: Mon, 2 May 2005 12:50:20 -0700
On May 2, 2005, at 8:57 AM, Bill Bumgarner wrote: Also, Core Data is not well suited to storing free form documents -- word processing documents, for example -- as they are generally stored today. Now, that isn't a limitation of Core Data so much as a result of how said documents are represented. The Text subsystem has a very particular fashion of storing all of the rather complex data necessary to save away document formatting. Unless you dive into the intricacies of the text subsystem, most of the storage and retrieval of said formatting can be treated as a black box. It would certainly be possible to represent free form documents in Core Data. It is just a problem of developing an effective model.
It seems like you'd still benefit from change tracking and persistence, even if a text document doesn't have much sense of relationships.
In other words, wouldn't there be code reduction in a TextEdit-like app if you just use NSData attributes? Free undo and NSPersistentDocument seem pretty compelling. It seems like this would become even more useful if you organize things by page.
Do feel you lose anything (other than code) going from a Cocoa Bindings / NSKeyedArchiver app to a Core Data / NSBinaryStoreType app?
- Scott
|
_______________________________________________
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