Re: Mixing OO and DB

From: Robert Martin <>
Date: Sun, 2 Mar 2008 14:43:16 -0600
Message-ID: <2008030214431664440-unclebob_at_objectmentorcom>

On 2008-03-01 12:15:34 -0600, topmind <> said:

>> Now you're just being a twit. It is very straightforward to
>> decouple application logic from the mechanism used to maintain the
>> persistent state of that system,
> Here you seem to be using the DB as *only* a dumb filing system.

No. The DB is a powerful data management and query engine. The application code takes the greatest advantage of that engine. But the code that controls that engine on behalf of the application is isolated into modules that are polymorphically decoupled from the main application.

Robert C. Martin (Uncle Bob)  | email:
Object Mentor Inc.            | blog:
The Agile Transition Experts  | web:
800-338-6716                  |
Received on Sun Mar 02 2008 - 21:43:16 CET

Original text of this message