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

Reply via email to