Re: Connecting to SQLITE
Re: Connecting to SQLITE
- Subject: Re: Connecting to SQLITE
- From: Brad Siegfreid <email@hidden>
- Date: Mon, 27 Nov 2006 07:22:46 -0600
I second Chris's suggestion to thoroughly examine Core Data. I
initially began my latest project in Core Data but thought that using
SQLite directly could improve my application. I'm back to Core Data
because of the additional Cocoa technologies. Some tasks may require
more memory or a completely different approach than a simple query to
SQLite but I feel that the total time-to-market for the project and
its general polish is going to be much better with CD.
- Brad
On Nov 27, 2006, at 4:52 AM, Chris Hanson wrote:
On Nov 26, 2006, at 10:38 PM, Namrata Dwivedi wrote:
I have downloaded the Sqlite for database for cocoa.
What i want to do is to make a connection to sqlite using cocoa
application.
Is that possible through cocoa application.'
If not then what is he another option for that.
And also want to ask that is there another option other than Sqlite
for cocoa Database.
SQLite is included in Mac OS X 10.4 Tiger, and is can be used
either via its native C API or as a type of Core Data persistent
store. There are also a number of third-party wrappers around the
SQLite API.
If you can target Mac OS X 10.4 and later with your application, I
very strongly encourage you to examine whether Core Data will meet
your application's needs. For most applications, it will require a
lot less code and a lot less work to use Core Data for object graph
management and persistence than it will to write all of that
yourself. Core Data also leverages -- and can be leveraged by --
other Cocoa technologies such as key-value coding, key-value
validation, key-value observing, and key-value binding (Cocoa
bindings).
As with the rest of Cocoa, Core Data also makes some of your
application's design and architectural decisions for you. For
example, Core Data strongly guides developers to handle
multithreading at the object graph level rather than at the
individual object level or at the object property level, in order
to best ensure the integrity and consistency of the data in the
object graph. It also manages inverse relationships, delete
propagation, and object graph validation on the developer's behalf
in a model-driven fashion.
-- Chris
_______________________________________________
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
_______________________________________________
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