Archives
 
 
 
  Special
 
 
 
  About Us
 
 
 

Newsletter
Free E-mail Newsletter from BYTE.com

 
    
           
Visit the home page Browse the four-year online archive Download platform-neutral CPU/FPU benchmarks Find information for advertisers, authors, vendors, subscribers Request free information on products written about or advertised in BYTE Submit a press release, or scan recent announcements Talk with BYTE's staff and readers about products and technologies

ArticlesKeys to the Enterprise: Data Access Technologies


March 1996 / Reviews / Compiling Convenience + / Keys to the Enterprise: Data Access Technologies
Steve Apiki

Data access methods like Microsoft's Open Database Connectivity (ODBC) or Apple's Data Access Language provide a common layer over small local databases and server-based SQL engines, but integrating these low-level technologies into a high-level development environment requires additional components. Enter Microsoft's Data Access Objects (DAO) and the Borland Database Engine (BDE).

DAO consists of objects that make up the programmer's interface to Microsoft's Jet engine, the database manager that underlies Microsoft Access and Visual Basic. DAO 3.0, bundled with Visual C++ 4.0, is implemented as a Co mmon Object Model-compliant DLL and works only in 32-bit Windows. It gives fast 32-bit access via Jet to native Access data using the same simple, abstract data objects found in VB. Microsoft Foundation Classes (MFC) 4.0, included in Visual C++ 4.0, wraps DAO objects into C++ classes similar in structure to those that encapsulate ODBC, giving MFC programmers a more-or-less consistent path to both technologies.

Like Jet, BDE is a high-speed database engine and COM object that underlies a collection of development tools and commercial packages (Borland's Delphi, Paradox, dBase, and Quattro Pro), simplifying data sharing. BDE provides access to ODBC and native access to a few SQL databases through Borland's SQL Links.

Using Borland C++ 4.5x, programmers reach these data sources via BDE through C API calls into the BDE DLL (Borland's integrated database API, or IDAPI). Borland C++ 5.0 integrates BDE by wrapping IDAPI calls into C++ classes designed using Delphi' s data object model. Watcom and Symantec provide direct ODBC support through the 16- and 32-bit versions of MFC included with their packages.


Analogous Architectures

illustration_link (17 Kbytes)

Borland and Microsoft both use Common Object Model (COM)-compliant components to access their high-speed database engines.


Up to the Reviews section contentsGo to previous article: Keys to the Enterprise: Data Access TechnologiesGo to next article: Borland's 5.0SearchSend a comment on this articleSubscribe to BYTE or BYTE on CD-ROM  
Flexible C++
Matthew Wilson
My approach to software engineering is far more pragmatic than it is theoretical--and no language better exemplifies this than C++.

more...

BYTE Digest

BYTE Digest editors every month analyze and evaluate the best articles from Information Week, EE Times, Dr. Dobb's Journal, Network Computing, Sys Admin, and dozens of other CMP publications—bringing you critical news and information about wireless communication, computer security, software development, embedded systems, and more!

Find out more

BYTE.com Store

BYTE CD-ROM
NOW, on one CD-ROM, you can instantly access more than 8 years of BYTE.
 
The Best of BYTE Volume 1: Programming Languages
The Best of BYTE
Volume 1: Programming Languages
In this issue of Best of BYTE, we bring together some of the leading programming language designers and implementors...

Copyright © 2005 CMP Media LLC, Privacy Policy, Your California Privacy rights, Terms of Service
Site comments: webmaster@byte.com
SDMG Web Sites: BYTE.com, C/C++ Users Journal, Dr. Dobb's Journal, MSDN Magazine, New Architect, SD Expo, SD Magazine, Sys Admin, The Perl Journal, UnixReview.com, Windows Developer Network