[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Need help about DB connectivity
From: |
David Chisnall |
Subject: |
Re: Need help about DB connectivity |
Date: |
Tue, 18 Jan 2011 14:58:12 +0000 |
On 18 Jan 2011, at 09:53, Parag Deshpande wrote:
> I know the objective c language sufficient enough to write programs with its
> standard syntax .I am in learning stage .
> Before i putforth my problem let me tell you that i am running GNUstep on
> windows and will use SQLite as database
> I am trying to write small program which will connect to database and should
> perform the simple task like create table, insert into,
> update and other simple task through objective c.
> So if you have solution on this do write to me .
Objective-C is a pure superset of C, so you can use SQLite's C API from
Objective-C without any problems. For a slightly higher-level interface, you
can use SQLClient, which does a little bit of database abstraction for you.
Alternatively, there are two frameworks in GNUstep svn which provide
object-relational mapping: GDL2 and gscoredata. These mirror the Enterprise
Object Framework and CoreData APIs, respectively, and handle the mapping
between objects and database tables for you.
David