Article View: borland.public.cppbuilder.database.multi-tier
Article #370Re: Design of a Persistence Layer
From: Petterson Ferreira de Paula
Date: Fri, 30 Nov 2001 15:45
Date: Fri, 30 Nov 2001 15:45
33 lines
2128 bytes
2128 bytes
"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:
<3c07adc6_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnewsReferences:
<3c050bcc_2@dnews> <3C059D65.6020807@temporaldoorway.com>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-11-30 08:09:59 PST From: "Petterson Ferreira de Paula" <nospam@nospam.com> Newsgroups: borland.public.cppbuilder.database.multi-tier References: <3c050bcc_2@dnews> <3C059D65.6020807@temporaldoorway.com> Subject: Re: Design of a Persistence Layer Date: Fri, 30 Nov 2001 13:45:17 -0200 Lines: 36 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: 200.210.101.22 Message-ID: <3c07adc6_2@dnews> X-Trace: dnews 1007136198 200.210.101.22 (30 Nov 2001 08:03:18 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews