| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: The wisdom of the object mentors (Was: Searching OO Associations with RDBMS Persistence Models)
On 2006-06-13 07:25:14 -0400, "Frans Bouma [C# MVP]"
<perseus.usenetNOSPAM_at_xs4all.nl> said:
> Robert Martin wrote:
No! This is called "Dependency Inversion" (See: http://www.objectmentor.com/resources/articles/dip.pdf)
The App modules define interfaces that the SQL modules implement. The source code has no dependency that goes from the App Modules to the Sql Modules. The calling pathway is set up at runtime by main (or something called by main). Main does this by establishing the pointers within the interfaces of the App modules to point to the implementations within the SQL modules.
-- 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 - 12:06:53 CDT
![]() |
![]() |