Re: Light DB Question
Re: Light DB Question
- Subject: Re: Light DB Question
- From: Joseph Jones <email@hidden>
- Date: Wed, 27 Nov 2002 12:51:36 -0800
This looks like a good package. I will give it a shot and let you know.
Thanx,
Joe
>
From: Martin-Gilles Lavoie <email@hidden>
>
Date: Wed, 27 Nov 2002 14:37:03 -0500
>
To: Joseph Jones <email@hidden>
>
Cc: Cocoa Dev <email@hidden>, Mac OSX Dev
>
<email@hidden>
>
Subject: Re: Light DB Question
>
>
>
Le Mercredi, 27 nove 2002, ` 13:59 America/Montreal, Joseph Jones a
>
icrit :
>
>
> The tool I am working on is in real need of a DB as a storage
>
> mechanism, but
>
> I don't want to force my users to install a mammoth DB server for it.
>
> Does
>
> anyone know if a lightweight relational db engine that can be
>
> integrated
>
> into an application?
>
>
>
> Thanx,
>
> Joe
>
>
A while ago, I made public a small package that does just that.
>
>
Based on SQLite, Objective-SQL is a set of classes that provides
>
automatic persistence to objects. It has some search capabilities and
>
aids for relationships between objects of different classes (aka, SQL
>
table).
>
>
I have an Source Forge project setup, but for the life of me, I can't
>
get the sources up in their CVS server. I think my service provider is
>
blocking those ports.
>
>
You can download the objective-sql.dmg package off of
>
>
http://homepage.mac.com/mouser/
>
>
for now.
>
>
Objective-SQL is set up to use SQL transport classes. Currently, only
>
SQLite (which is included in this package) is implemented, but you
>
could easilly define another class implementing the SQLTransport
>
protocol and have your data stored onto a different DB, such as
>
PostGres SQL, Oracle 9i, MySQL etc.
>
>
Here's an excerpt of the read me:
>
>
--
>
>
What is MObjectiveSQL
>
>
MObjectiveSQL is a simple set of classes that provide high-level,
>
flexible SQL database storing and retrieval services.
>
>
In short, it makes any Objective-C class derived from MObjectiveSQL a
>
SQL table that's automatically handled in a SQL database.
>
>
New features:
>
>
- Reorganization of the source code
>
- Transport-neutral architecture
>
- High-level classes for even simpler setup and operation
>
- Sample code!
>
>
Bulk of the features:
>
>
- Derived classes are automatically exported as SQL tables
>
- Search functions returning NSArray* of your class instances from
>
corresponding
>
SQL table;
>
+ Single specific object (first match)
>
+ Array of objects that match criteria
>
+ Object ranges
>
- Object proxy ID generation and retrieval through NSString category
>
(aka, fully relational cross-table references)
>
- Per-class (aka, per table) object cache
>
- Hassle-free, complete no-download distribution (all you need is
>
included)
>
- Global, per-table manual object cache
>
>
The Objective-SQL package is, regardless of it's smallness, is a solid
>
package. I am using it successfully as part of a much larger project.
>
>
______________________________________________________________________
>
Martin-Gilles Lavoie
>
>
_______________________________________________
>
MacOSX-dev mailing list
>
email@hidden
>
http://www.omnigroup.com/mailman/listinfo/macosx-dev
_______________________________________________
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.