Re: Database Access
Re: Database Access
- Subject: Re: Database Access
- From: Sam Goldman <email@hidden>
- Date: Mon, 28 Jan 2002 01:11:09 -0800
Carla,
If you are brand new to Cocoa, I suggest you take a few hours to get to know
it (may take longer depending on programming and OO experience).
I have a project that uses the MySQL C API through Cocoa. It is open source
and you can use it in any way you want. I wouldn't recommend using it right
now anyway because it is under heavy development and many (most) things
don't work well or at all.
You can find more info at:
<
http://homepage.mac.com/samgoldman/simplesql/>
I also have a C++ class (also under development) that does the same thing.
There is a more developed (working) MySQL-Cocoa API here:
<
http://mysql-cocoa.sourceforge.net/>
I suggest you use the one hosted at sourceforge. It is set up differently
than mine; probably in a much better way.
The MySQL C API is extremely simple and don't bother looking for a book
because their documentation along with some examples is more than enough.
You can find the documentation here:
<
http://www.mysql.com/doc/C/C/C.html>
Here is another handy example. It's straight C, but I used it to educate
myself a little about the API.
<
http://www.cs.unt.edu/esupport/programming/mysql_capi.c>
Hope this helps,
Sam
On 1/27/02 9:27 PM, "Carla Lewis" <email@hidden> wrote:
>
I've seen you all toss the topic of database access back and forth, but
>
no one has ever really addressed it with a resolution.
>
>
My application requires a relational database. I have many, many linked
>
fields across many tables. We are a small business and I only have
>
about ten thousand customer records to maintain. Currently, I am using
>
FileMaker, but it is VERY weak.
>
>
Normally, only one person at a time will be using my application, but
>
sometimes as many as five will be.
>
>
I've looked at FrontBase, OpenBase, and others, but I can't pay that
>
kind of money. Sure, if I had to drop up to $1000.00 I could twist some
>
arms.
>
>
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.
>
>
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.
>
>
>
Carla Lewis
>
Etherion, Inc.