Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SQLite vs CFData



Aha.

I see. You are correct. I have been looking at CFData, assumed it was the same thing.

Looking specifically at Core Data, I can see its much more than that. However it looks like its a Cocoa thing ? A guess Core Data isn't available for regular old C programmers ?

Sounds like using SQLite directly was the correct route. I just wondered if CoreData held any benefits for our application.

Cheers  :-)

At 10:54 -0700 8/6/06, John Stiles wrote:
Are you perhaps thinking about CoreData? (Which sometimes uses SQLite at its core.)
CFData is just a very simple object which contains a wad of bytes. It doesn't do anything fancy.


On Jun 8, 2006, at 10:51 AM, Mark Gilbert wrote:

Folks.

Can someone elaborate on the relationship between SQLite and CFData. The docs suggest that CFData uses SQLite.

I have used SQLite with good results as a regular database, but reading about CFData I can't really understand the relationship, it looks to me that CFData just allows a user to create a 'data block' of arbitrary size which presumably is automatically cached off disk (via SQLite ?)

I am having trouble understanding whether CFData is designed to be used *instead* of SQLite for the same type of job ? if so, I must have missed some detail about how one would setup a 'multi-field' relational database with CFData.

Perhaps its really not intended to do the same job, and the use of SQLite for CFData is merely incidental.

Any comments ?


-- email@hidden Tel: +44 208 340 5677 fax: +44 870 055 7790 http://www.gallery.co.uk New Product ! - MetaCorder Location Sound Field Recorder http://www.metacorder.info

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden


--
email@hidden
Tel: +44 208 340 5677
fax: +44 870 055 7790
http://www.gallery.co.uk
New Product ! - MetaCorder
Location Sound Field Recorder
http://www.metacorder.info

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >SQLite vs CFData (From: Mark Gilbert <email@hidden>)
 >Re: SQLite vs CFData (From: John Stiles <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.