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

From: Robert Martin <unclebob_at_objectmentor.com>
Date: Tue, 20 Jun 2006 14:33:08 -0400
Message-ID: <2006062014330811967-unclebob_at_objectmentorcom>


On 2006-06-01 07:58:07 -0400, "Tony Andrews" <andrewst_at_onetel.com> said:

> This is a lot different from RCM's stance (as I understand it), which
> is that even the developer writing the database code - the "guts" of
> the data processing - shouldn't need to know anything about the DBMS.
> I don't agree with this.

My stance is that there should be a dividing line in the application. On the right of that dividing line is the code that knows about SQL and the Schema. On the left is code that knows nothing of SQL and sees the schema through an abstract vision. (i.e. the schema has been transformed into a more convenieht structure). The dependencies that cross this line should all point to the left.

-- 
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 20 2006 - 20:33:08 CEST

Original text of this message