Re: Databasing and Cocoa
Re: Databasing and Cocoa
- Subject: Re: Databasing and Cocoa
- From: James Tichenor <email@hidden>
- Date: Sun, 29 Feb 2004 08:31:39 -0800
First response: Check out FrontBase <http://www.frontbase.com/>, which
while not free is inexpensive and has a simple Objective-C API you can
use from Cocoa applications.
I did look at and work with FrontBase quite a bit -- I liked it's easy
of use in setup and was impressed with how simple it seemed to be. I
was a little confused as to it's Obj-C support, thinking it had
stronger Java support with Obj-C as an afterthought, but I wasn't sure.
The biggest stumble was price -- our application is an in-house system
that really needs to be as inexpensive as possible -- basically all
costs come out of my own pocket. Plus, I really like the open source
solutions and want to support that community. Kind of surprised that
the mysql system is not more robustly supported by Cocoa -- someone has
to write a solid framework! I'd do it if I knew anything about it :-)
But maybe it would be smarter, considering I am teaching myself Cocoa,
to make the database part of it as simple as possible for now and port
to mysql when support becomes more consistent and solid.
Often object-oriented applications that interact with relational
databases use a mapping of class<->table, instance<->row,
attribute<->column, relationship<->foreign key column with join.
Thank you, that's what I suspected. Whatever makes the most sense seems
to be the smartest way to implement, most of the time.
I strongly suggest at least going through the WebObjects tutorial.
You can see the philosophy it uses and then emulate that, even if you
don't actually wind up using WebObjects for your implementation.
Yes, I will look at WebObjects next.
James
_______________________________________________
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.