Re: Database
Re: Database
- Subject: Re: Database
- From: Troy Brumley <email@hidden>
- Date: Mon, 7 Jan 2002 22:28:54 -0500
On Monday, January 7, 2002, at 10:17 PM, Kent Glenn wrote:
I'm building an application that needs a single user/local database. I
really don't want to have the user install MySQL, since I think it's an
overkill for what I need.
I will basically need to hold customer records, with a few other small
tables. There will be some relationships. I'm guessing that on the avg.,
there will be around 5000 customer records.
If I do have to default to MySQL, is there any Cocoa lib's/code for
connecting to it? Or, do I have to connect via Java/JDBC?
I have even thought about using XML, any thoughts on that? I know if
wastes
some space, and my database would need to be memory based...
I don't know about Cocoa yet, but in my Smalltalk experience I would
consider or some other serialization method appropriate. In VisualWorks
Smalltalk we have something called BOSS (Binary Object Storage Streams).
If your database can be represented in a collection of some sort, I'd
look to see if there's a similar utility for Objective-C.
Of course, you assume some more responsibility for safety of the data
when it is stored to a file...you have to make sure the write is
complete and the file closed before you delete the prior version.
Thanks in advance,
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
References: | |
| >Database (From: Kent Glenn <email@hidden>) |