Article View: borland.public.cppbuilder.database.multi-tier
Article #371Re: Design of a Persistence Layer
From: Chris Mylonas
Date: Sat, 01 Dec 2001 09:22
Date: Sat, 01 Dec 2001 09:22
49 lines
2559 bytes
2559 bytes
Hi, Take a look at www.ambysoft.com Scott Ambler's web site. You will find two papers :mappingObjects and persistantLayer. I thing they will be usuful for your case. Chris Mylonas chris.mylonas@computer.org "Petterson Ferreira de Paula" <nospam@nospam.com> wrote in message news:3c07adc6_2@dnews... > "Mark Cashman" <mcashman@temporaldoorway.com> escreveu na mensagem > news:3C059D65.6020807@temporaldoorway.com... > > Hi, Petterson! > > > > One possibility would be to use the VCL streaming system. This would > > mean that you would want each persistable / recoverable object to be a > > component. You could then get the component from a blob in the database, > > and stream the blob content using the component streaming system to > > create it. After changes were made, you could stream the result back > > into the database. > > > > -- > > ------ > > Mark Cashman (TeamB - C++ Builder), creator of The Temporal Doorway at > > http://www.temporaldoorway.com > > - Original digital art, writing, music and more - > > C++ Builder / JBuilder Tips and The C++ Builder Programmer's Webring (Join > us!) > > http://www.temporaldoorway.com/programming/index.htm > > ------ > > > > Hi, Mark! > > I think in this way the search capabilities of my system will be very > reduced, I was thinking in something that allows me save, retrieve and > search objects, hiding the persistence mechanism, but I would like I was > capable to design several kinds of persistence implementations for flat file > systems, relational databases and so on. > > Thanks, > > Petterson F. de Paula > > >
Technical Details
Message-ID:
<3c08a3e1_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!194.25.134.62!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnewsReferences:
<3c050bcc_2@dnews> <3C059D65.6020807@temporaldoorway.com> <3c07adc6_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd2b,20268d55f8cfc4e8 X-Google-Attributes: gidfcd2b,public X-Google-ArrivalTime: 2001-12-01 01:38:49 PST From: "Chris Mylonas" <chrisml@hol.gr> Newsgroups: borland.public.cppbuilder.database.multi-tier References: <3c050bcc_2@dnews> <3C059D65.6020807@temporaldoorway.com> <3c07adc6_2@dnews> Subject: Re: Design of a Persistence Layer Date: Sat, 1 Dec 2001 11:22:05 +0200 Lines: 51 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 195.97.116.180 Message-ID: <3c08a3e1_1@dnews> X-Trace: dnews 1007199201 195.97.116.180 (1 Dec 2001 01:33:21 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!194.25.134.62!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews