Re: The wisdom of the object mentors (Was: Searching OO Associations with RDBMS Persistence Models)
Date: Tue, 13 Jun 2006 16:59:55 +0300
"Frans Bouma [C# MVP]" <perseus.usenetNOSPAM_at_xs4all.nl> wrote in message
> Robert Martin wrote:
> > The best answer is "one". We would like all the SQL to be placed in
> > one module, or one group of modules that are all related. More
> > importantly we want that module (or that group of modules) to be
> > independent. No other modules in the system should know that it
> > (they) exist(s). All dependencies point AWAY from the SQL modules.
> > |App Modules|<------|SQL MODULE(S)|
> erm, shouldn't that arrow be in the opposite direction? I mean, how
> can an app module function if it needs to consume data from a
> persistent storage when it doesn't know of a module which can provide
> that data for him?
Maybe they don't have such needs. Maybe they are feeded with data by the SQL modules. Received on Tue Jun 13 2006 - 15:59:55 CEST