Re: Database Access
Re: Database Access
- Subject: Re: Database Access
- From: Kurt Revis <email@hidden>
- Date: Sun, 27 Jan 2002 21:47:43 -0800
I've looked at mySQL, but I have no freakin' idea of how to actually
connect to a database using Cocoa. It's not like there's a book on it,
or even info in user groups like this. Cocoa is new to me. I'd like to
learn as I went along.
There is a plain C interface to mySQL, which you could call from Cocoa
code without any problem, in just the same manner as you would on Linux
or whatever.
http://mysql.org/documentation/mysql/bychapter/manual_Clients.html#C
Also, I just did a search on mySQL in Amazon and it turned up 24 books,
so I imagine at least one of them has some more info about this.
I don't know if anyone has put together a Cocoa wrapper around mySQL or
not. If there is one it would be nice and save you some work, but it is
not absolutely necessary.
The only other thing I've seen that looks intriguing is WebObjects, but
I get the impression it IS the connectivity solution, but it's not a
database engine itself. I would love for someone to tell me that Apple
has their own database engine that is still available, but I don't think
I'm going to hear that.
No, WebObjects does not include a database, and Apple doesn't sell any
SQL databases.
--
Kurt Revis
email@hidden