February 2003
Intermediate to advanced
752 pages
16h 35m
English
One of the most common services that components are called on to provide is data access. Databases make ideal work for components for several reasons, including the following:
Databases require extraneous details.
This information (connection strings, field names, and so on) can complicate application logic. A well-written component encapsulates these details.
Databases are always in demand.
A typical application might call a database several times for different pieces of information. Placing this code in a database component ensures that the connection and querying details are handled in a consistent manner rather than copied to every corner of your code.
Relational databases aren’t object-oriented.
However, components ...