Re: The wisdom of the object mentors (Was: Searching OO Associations with RDBMS Persistence Models)

From: Tony Andrews <andrewst_at_onetel.com>
Date: 31 May 2006 07:14:33 -0700
Message-ID: <1149084873.914054.188030_at_i39g2000cwa.googlegroups.com>


Robert Martin wrote:
> On 2006-05-30 07:33:03 -0500, "Tony Andrews" <andrewst_at_onetel.com> said:
> > Considering the use of so many button-pushingly ludicrous statements
> > such as "a DBMS is a bucket of bits" and "swapped out for another at a
> > whim", do you not think perhaps Mr Martin was teasing (or goading) you?
>
> I was doing neither. I was expounding an attitude about DBMSs that I
> have found useful over the years. When I put a system together I treat
> the DBMS as a detail. I isolate it from the application code as much
> as possible. What results is an application design which is deeply
> partitioned into areas that know a lot about the DB and areas that know
> nothing about the DB. This is just good decoupling.

Decoupling is good, if done at an appropriate level. However, given your preference for swapping out DBMSs "at a whim" you clearly have no choice but to use the lowest common denominator abilities of all DBMSs that might be chosen, which probably amounts to some very simple low-level DML and SELECT statements. Then you effectively build your own pseudo-DBMS on top of this with application code. What a waste of time and effort, not to mention the money you spent buying a DBMS of which you refuse to use 95% of the power! Received on Wed May 31 2006 - 16:14:33 CEST

Original text of this message