Article View: borland.public.cppbuilder.database.multi-tier
Article #365Re: Design of a Persistence Layer
From: Mark Cashman
Date: Thu, 29 Nov 2001 02:28
Date: Thu, 29 Nov 2001 02:28
17 lines
1715 bytes
1715 bytes
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 ------
Technical Details
Message-ID:
<3C059D65.6020807@temporaldoorway.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!logbridge.uoregon.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnewsReferences:
<3c050bcc_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-11-28 18:35:41 PST Message-ID: <3C059D65.6020807@temporaldoorway.com> Date: Wed, 28 Nov 2001 21:28:53 -0500 From: Mark Cashman <mcashman@temporaldoorway.com> Reply-To: mcashman@temporaldoorway.com User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en-us MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.database.multi-tier Subject: Re: Design of a Persistence Layer References: <3c050bcc_2@dnews> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 24.14.197.193 X-Trace: dnews 1007000940 24.14.197.193 (28 Nov 2001 18:29:00 -0800) Lines: 18 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!logbridge.uoregon.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews