Re: Implementing Object persistence
Re: Implementing Object persistence
- Subject: Re: Implementing Object persistence
- From: Jake Macmullin <email@hidden>
- Date: Mon, 10 Jan 2005 10:56:17 +1100
Whilst it is not available yet, I'd have to suggest looking at Core
Data. From Apple's 'Tiger' page:
http://developer.apple.com/macosx/tiger/
Core Data
Cocoa has long provided a world-class solution for application
user-interface development. And in Panther, Cocoa started providing
pre-built controller objects (the "Bindings" layer) to connect various
UI elements together with data models. Now in Tiger, Cocoa can manage
your data objects themselves through the power of Core Data, providing
automatic undo/redo support, additional user interface
synchronization, and data consistency, correctness, and speed
enhancements when it's time to write to disk.
Core Data gives you the ability to create a description of your data
objects. Once defined, Core Data handles most of the heavy work of
managing your data objects, both in-memory and on-disk. This allows
you to focus on application logic and avoid the infrastructure work.
In short, Core Data is a model-driven object management graph and
persistence framework.
In Tiger, Core Data will support three different kinds of files for
storage of data:
A text-based XML file format
A better performing binary file format
A high-performance, SQLite-based database file format
Each of these file formats has its strengths. The XML file format is
a good choice during the development of an application as it allows
you to peek inside the file and see what is going on. The SQLite
format will often be the best choice for desktop applications because
of its performance characteristics.
Regards,
Jake MacMullin
On 10 Jan 2005, at 1:15 AM, Tommy Nordgren wrote:
I'm interested in finding any how-to info on implementing Object
Persistence on Mac OS X
In particular I'm interested in info on how to save (Possibly)
Cyclical graphs so that the original graph structore can be restored
from a file.
Thankful for any hint.
Tommy Nordgren
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
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