Re: Mixing OO and DB
Date: Tue, 12 Feb 2008 21:01:06 -0600
Message-ID: <2008021221010631729-unclebob_at_objectmentorcom>
On 2008-02-11 16:21:12 -0600, "David Cressey" <cressey73_at_verizon.net> said:
> Objects do not always hide data. Specifically, they pass messages to each
> other in the form of data.
> Going further, objects do not "see" the behavior
> of other objects. What they see is the data, written into messages, that is
> the result of behavior. Seeing the result of behavior is not the same thing
> as seeing the behavior itself.
Granted, but the dependencies between objects are created by designers
in pursuit of behaviors. The reason that one object talks to another
can be found in the behaviors sought by the designers. The reason
messages are sent, and the reason messages have benavior, is behavior.
>
> One could do a data centric analysis of an object world, by analyzing the
> data passed among the objects in that world. Such an analysis would be much
> more like the kind of analysis one makes of a database. Or, perhaps more
> likely, analysis of a set of information requirements that is to be filled
> by a database not yet designed.