Re: The wisdom of the object mentors (Was: Searching OO Associations with RDBMS Persistence Models)
From: Bob Badour <bbadour_at_pei.sympatico.ca>
Date: Thu, 01 Jun 2006 22:55:14 GMT
Message-ID: <mfKfg.16255$A26.376272_at_ursa-nb00s0.nbnet.nb.ca>
>
>
> Encapsulation is hierarchical. The longer the conceptual distance between
> any two points in a program, the narrower their communication should be,
> if any.
>
> So the few modules that have SQL in them should have wider communication
> with each other than with others. Sometimes we call that a "Layer".
Date: Thu, 01 Jun 2006 22:55:14 GMT
Message-ID: <mfKfg.16255$A26.376272_at_ursa-nb00s0.nbnet.nb.ca>
phlip wrote:
>>>An application should have its SQL statements in only a few modules, and >>>all others should be SQL-free. >>> >>>Note in my statement, you can replace SQL with GUI, XML, ORB, etc, to >>>generally the same effect. The point of modules is to isolate and >>>encapsulate. >>> >>>Is that so hard? >> >>Define: few
>
>
> Encapsulation is hierarchical. The longer the conceptual distance between
> any two points in a program, the narrower their communication should be,
> if any.
>
> So the few modules that have SQL in them should have wider communication
> with each other than with others. Sometimes we call that a "Layer".
Define few Received on Fri Jun 02 2006 - 00:55:14 CEST