🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #4643

Re: Should I use BDE or ADOExpress ....

#4643
From: Mark Cashman
Date: Tue, 23 Oct 2001 11:55
47 lines
2620 bytes
Hi, Nick!

I have used both component sets. The pros and cons go like this:

Pro BDE:

Abstract association with a particular data set makes it easier to move
that data set with no code changes.

BDE components are less dependent on the specific DBMS, but are not
completely free of it unless you use TQuery exclusively.

BDE native drivers give you more control; the wrong MDAC on a
destination machine can mess you up.

Installing the BDE is something the install programs know how to do.
With ADO you are on your own.

Pro ADO

Program resets during development do not require a shutdown and restart
of the IDE (the BDE often causes an out of memory error if you do this).

ADO offers some features like timeouts that are not supported by the
BDE. It also is able to address special features of MS databases (which
you probably shouldn't be using anyway).

--

What I did when confronted by a similar choice was to create a component
set with a conditional compilation to base the components on BDE or ADO
components. This allowed me to change a #define and use whichever I
chose. Obviously, you have to make some choices, however, and you can't
hide the differences entirely (so your code may have to have some
conditional compilation as well). But it can be a good alternative, if
you want to try the ADO components and have a fallback.

Well, I hope this helps.

------
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: <3BD55A9C.AFC5E88B@temporaldoorway.com>
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
References: <3bcecc2f$1_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,a2642fc16cf77642
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2001-10-23 05:03:56 PST
Message-ID: <3BD55A9C.AFC5E88B@temporaldoorway.com>
Date: Tue, 23 Oct 2001 07:55:08 -0400
From: Mark Cashman <mcashman@temporaldoorway.com>
Reply-To: mcashman@temporaldoorway.com
X-Mailer: Mozilla 4.77 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Re: Should I use BDE or ADOExpress ....
References: <3bcecc2f$1_1@dnews>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 24.14.197.193
X-Trace: dnews 1003838252 24.14.197.193 (23 Oct 2001 04:57:32 -0700)
Lines: 49
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