Re: Mixing OO and DB
From: Robert Martin <unclebob_at_objectmentor.com>
Date: Sun, 2 Mar 2008 14:43:16 -0600
Message-ID: <2008030214431664440-unclebob@objectmentorcom>
Date: Sun, 2 Mar 2008 14:43:16 -0600
Message-ID: <2008030214431664440-unclebob@objectmentorcom>
On 2008-03-01 12:15:34 -0600, topmind <topmind_at_technologist.com> 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: unclebob_at_objectmentor.com Object Mentor Inc. | blog: www.butunclebob.com The Agile Transition Experts | web: www.objectmentor.com 800-338-6716 |Received on Sun Mar 02 2008 - 14:43:16 CST
