This may prove to be an unproductive question to pose, so I apologize in 
advance.

I'm generally a big fan of Core Data, but I'm developing a moderately 
complicated CAD app with libraries and design documents and such, and beginning 
to wonder if it would be easier to do if I weren't fighting Core Data. I'm 
wondering what the tradeoffs might be.

If I were to dump Core Data, I'd keep the entire object graph in memory all the 
time, writing it out completely each time. I'd probably write XML, or some 
other text-based format (as much as I abhor text-based formats) because of the 
ease in diffing changes and using it with source control.

As I write this, I realize that I can't just keep a whole document in memory; 
the library (which would be a collection of separate files on disk, but 
presented as a unified collection of content in the UI) could be very large and 
I'd rather not load in the whole thing. Nevertheless, I think that's doable.

I'd have to handle relationships myself, but all the data types become easier 
to manage (I use a lot of C structs, well, really C++ structs).

Thoughts? Thanks!

-- 
Rick



Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to