Embedding a database
Embedding a database
- Subject: Embedding a database
- From: Thom McGrath <email@hidden>
- Date: Sat, 10 Jun 2006 21:47:04 -0400
Operational Parameters: targeting 10.4, universal.
I'm looking to embed a database in my application, because my ideas
have grown beyond what a dictionary can handle. That, and I'd like
some better speed and ease of use. I've used many databases before,
including SQLite which is the most likely option.
However, being fairly new to cocoa, and neither "Cocoa Programming
for Mac OS X" nor "Advanced Mac OS X Programming" cover databases,
I'm a little lost. I know CoreData uses an SQLite store in many
cases, so the engine has got to be already built in somewhere, right?
And I have downloaded the SQL Database class to interface with the
database. But I don't know how to link everything together.
CoreData does not appear to be a valid option here (possibly because
I never liked CoreData, found it to be too restrictive) because I
need an iTunes-like library where a single object can be found in
multiple collections. I have Collections, Categories, and Objects.
User can create Collections and move Objects into them at will.
Objects have a Category, and the user can browse by Category. So
thus, a Collection would have Categories associated as well. The
interface becomes more complicated than CoreData and bindings appear
to be able to handle, so I'm doing this "by hand" rather than relying
on "magic".
So where do I go from here to implement a database?
--
Thom McGrath, <http://www.thezaz.com/>
"You don't need eyes to see, you need vision" - Maxi Jazz in
"Reverence" by Faithless
_______________________________________________
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