Jade is an excellent database, its much easier to model and manipulate data
then relational database.  Also, you can expose Jade Objects as a COM
Interfaces now, so theoretically, you could use it with Delphi.  

Are there any other similar tools that are easy to interface to?

What ive done in the past with Delphi is to write the object model to a
stream, or to something like XML, and then hold it in a BLOB or memo field.
The main problem with this approach is maintaining referential integrity if
you have foreign keys inside your data that point to other parts of the
relational  database.


-----Original Message-----
From: Peter G Jones [mailto:[EMAIL PROTECTED]]
Sent: Saturday, 29 January 2000 01:13
To: Multiple recipients of list delphi
Subject: [DUG]: Object persistence [was ADO access]


This is allways something I've had a problem understdaning.  If you go to a 
pure object model how do you get your objects to be persistent into a 
relational db, like Interbase?

Is there an easy answer?  Does Delphi provide something to help with this?
Should I just dump Delphi and use Jade?

>Better idea, tho a fair bit of work, is to abstract your DB out into
>objects - have the object handle load, save, insert etc into the DB, and
>program the UI/front end to that Object model. Then, you dont have to care
>if your objects are local (fat), or remote (thin) - the code is pretty much
>the same, just the implementation of, say "TCustomer = 
>class(TObjPersistant,
>ICustomer)" that changes.

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to