| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: The wisdom of the object mentors (Was: Searching OO Associations with RDBMS Persistence Models)
Marshall wrote:
>> Team A, however, can sack its DBA any time they feel like, and can easily >> replace the DB-facing modules with some other system.
Here's James Kanze, many winters ago:
----8<-----------------------------
My point is really fairly simple:
A simple example would be a text editor. A priori, the standard string class provides all of the functionality needed. On the other hand, the probability that the implementation is optimized precisely for your editor is pretty slim. If you design your editor using the standard string class as the text buffer, it is going to be next to impossible to optimize it later. A better solution would be to design a text buffer class, with exactly the needed functionality (and no more), and use the standard string to implement it.
--James Kanze
----8<-----------------------------
Now work his example, replacing editor with application, and string class for database. Narrow any wide interface down to what your application needs, then program to that interface.
-- PhlipReceived on Fri Jun 02 2006 - 12:04:33 CDT
![]() |
![]() |