• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Connecting to SQLITE
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Connecting to SQLITE


  • Subject: Re: Connecting to SQLITE
  • From: Chris Hanson <email@hidden>
  • Date: Mon, 27 Nov 2006 02:52:59 -0800

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


  • Follow-Ups:
    • Re: Connecting to SQLITE
      • From: Brad Siegfreid <email@hidden>
References: 
 >Connecting to SQLITE (From: "Namrata Dwivedi" <email@hidden>)

  • Prev by Date: (no subject)
  • Next by Date: NSTableView: use sorting
  • Previous by thread: Re: Connecting to SQLITE
  • Next by thread: Re: Connecting to SQLITE
  • Index(es):
    • Date
    • Thread