Re: Database
Re: Database
- Subject: Re: Database
- From: Simon Stapleton <email@hidden>
- Date: Mon, 14 Jan 2002 11:48:59 +0000 (GMT)
>
Subject: Re: Database
>
From: Joe Schiwall <email@hidden>
<snip>
>
Like everybody else I would love to see EOF for Obj-C/Cocoa. Just
>
having the flat file database adapter would be a big help, but I am
>
not expecting anything soon.
>
>
In the meantime, I came across an open source, LGPL licensed
>
database engine you may want to look at.
<snip>
>
If the engine is decent, maybe we can put an Obj-C wrapper on it so
>
the cocoa community would at least have some kind of DB solution
>
for now.
Yes, but an Obj-C wrapper around database x is a lot less than what
EOF represents. There's nothing to stop you, for example, putting an
wrapper around the 'C' libraries for any of the DBMS' out there - I
could, for example, wrap up Postgres' library without too much
effort, and build an application on top of that. But what I get out
of the back of a simple wrap-up job is another nasty bespoke
application (and believe me, I've seen a few of those in my time)
which has DB code requiring as much maintenance time as, or more
than, the business logic of the application. Not to mention that,
without major surgery, it can only be implemented on that DB
platform. Which means, if my client wants to use Oracle, I need
access to an oracle server from my development box. But for
development purposes, all I really want is flat files, or possibly a
smallish database (Postgres, for example[1]). And what happens when
I want to redeploy the same application on a Sybase platform? With
parts run from an in-memory database for performance reasons?
Woops...
If all you want is database access, grab your database of choice and
wrap up its c library in Obj-C. Or just call it direct. There's
very little stopping you using Pro*C from Obj-C, after all, and
that's about the most complex one I can think of at the moment. But
even then, you will only be a small step towards where you want to /
should be.
EOF is/was so much more than just a wrapper. The Obj-C implementation
needs to come back. And for me, at least, Java doesn't cut it.
Simon
[1] Yes, I like a Postgres.
--
PGP Key ID : 0x50D0698D
--
If the answer isn't obvious, the question is a distraction. Go find
an easier question.