For Programmers: Free Programming Magazines  


Home > Archive > Objective C > March 2005 > Database Access Library or Framework sought









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Database Access Library or Framework sought
Juergen Lorenz Simon

2005-03-16, 4:05 pm

Hello,

Foremost, I'm new to the list. I can imagine the question has been asked
before, but since I could not find anything about it the the FAQ, I
presume it will be safe to ask:

Is there an objective-c library or framework covering database access?
For instance via ODBC? Or proprietary methods? Is a free port of Apple's
EnterpriseObjects framework around? I'm using this for a university
project, so academic licenses are ok.

Thanks a lot.

J.L.Simon
Doc O'Leary

2005-03-16, 4:05 pm

In article <crcab6$r4j$1@newsreader2.netcologne.de>,
Juergen Lorenz Simon <juergen_simon@mac.com> wrote:

> Is there an objective-c library or framework covering database access?


You really have to be more specific on what your needs are, foremost
being the use of just ObjC itself, or dependencies on other object
frameworks. Since you mention Apple, I'll address it from that angle,
but post to a Mac programming group in the future if you have Mac
questions.

> For instance via ODBC? Or proprietary methods? Is a free port of Apple's
> EnterpriseObjects framework around? I'm using this for a university
> project, so academic licenses are ok.


Please see:

http://www.subsume.com/cgi-bin/go.pl?k=STEnterprise

which is how I approached database persistence with Cocoa. It also
includes a page of links to alternatives, should you decide you want to
deal with relational mapping at a different level.
JAL

2005-03-16, 4:05 pm

Well I have open source code for a Mac Objective-C database API against
MySQL at:
http://www.geocities.com/jeff_louie/Mac_Objective_C.htm

Regards,
Jeff Louie

Juergen Lorenz Simon wrote:
> Hello,
>
> Foremost, I'm new to the list. I can imagine the question has been

asked
> before, but since I could not find anything about it the the FAQ, I
> presume it will be safe to ask:
>
> Is there an objective-c library or framework covering database

access?
> For instance via ODBC? Or proprietary methods? Is a free port of

Apple's
> EnterpriseObjects framework around? I'm using this for a university
> project, so academic licenses are ok.
>
> Thanks a lot.
>
> J.L.Simon


Christian Brunschen

2005-03-16, 4:05 pm

In article <crcab6$r4j$1@newsreader2.netcologne.de>,
Juergen Lorenz Simon <juergen_simon@mac.com> wrote:
>Hello,
>
>Foremost, I'm new to the list. I can imagine the question has been asked
>before, but since I could not find anything about it the the FAQ, I
>presume it will be safe to ask:
>
>Is there an objective-c library or framework covering database access?
>For instance via ODBC? Or proprietary methods? Is a free port of Apple's
>EnterpriseObjects framework around? I'm using this for a university
>project, so academic licenses are ok.


As part of the GnuStep project, there is an implementation of the EOAccess
and EOControl frameworks:

<http://www.gnustep.org/resources/do.../GDL2/GDL2.html>

>Thanks a lot.


Best wishes,

>J.L.Simon


// Christian Brunschen
Juergen Lorenz Simon

2005-03-16, 4:05 pm


Hello

> Since you mention Apple, I'll address it from that angle,
> but post to a Mac programming group in the future if you have Mac
> questions.

Yes, I left it unclear that I'm working on Linux. I did write the
sourcecode on OS X originally, but ported it to Linux recently. So
the platform is Objective-C using GNUstep class libraries and runtime
on Suse Linux 9.1.

> Please see:
>
> http://www.subsume.com/cgi-bin/go.pl?k=STEnterprise

Thanks for the suggestion.

J.L.Simon
Juergen Lorenz Simon

2005-03-16, 4:05 pm

Thanks all for the suggestions! Since I am already familiar with the
EnterpriseObjects classes (though Java) I will try the
EOAccess/EOControl approach first. Cheers!
David Stes

2005-03-16, 4:05 pm

Juergen Lorenz Simon <juergen_simon@mac.com> wrote:
> Hello,
>
> Foremost, I'm new to the list. I can imagine the question has been asked
> before, but since I could not find anything about it the the FAQ, I
> presume it will be safe to ask:
>
> Is there an objective-c library or framework covering database access?
> For instance via ODBC? Or proprietary methods?


You could also use embedded SQL statements in Objective-C.

This works just like the frontends that use SQL statements in C;
in fact, POC, portable object compiler, uses the .em (embedded .m files) suffix
for these source files.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com