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

From: Robert Martin <unclebob_at_objectmentor.com>
Date: Tue, 13 Jun 2006 15:19:14 +0200
Message-ID: <2006061315191482327-unclebob_at_objectmentorcom>


On 2006-06-04 20:08:53 +0200, "Alfredo Novoa" <alfredo_novoa_at_hotmail.com> said:

>
> Bart Wakker ha escrito:
>

>> It is good to try to separate application code and DBMS as far as
>> possible without too much trouble,

>
> This is like to say: it is good to try to separate your head from your

> shoulders as far as possible without too much trouble.

No, it's more like saying that it is good to separate your engine from your car as far as possible without too much trouble.

Engines can be removed from cars and run on a test rig. Engines can be pulled from one car and put into another. This is generally a good thing.

Separating application code that does not have to know about SQL and Schema, from code that must know about SQL and schema is a good thing. It means that when the Schema changes, only the code that knows about it will necessarily change.

-- 
Robert C. Martin (Uncle Bob)  | email: unclebob_at_objectmentor.com
Object Mentor Inc.            | blog:  www.butunclebob.com
The Agile Transition Experts  | web:   www.objectmentor.com
800-338-6716                  |
Received on Tue Jun 13 2006 - 15:19:14 CEST

Original text of this message