Model components -- HI, DM (who I know)
Str#79. "Establish HI Object Connections" Strategy
- For a window or report, include an object connection
(expressed as an attribute) to: the contents of the window,
the objects it knows directly, to get the content it needs to
do its job (note that a window can use those objects to get
to other objects, indirectly).
Str#79a. "Establish HI-PD Object Connections" Strategy
- for a window, show "who i know" in text:
-
- (a) a problem-domain container, to ask for a
list
- (b) an object (or objects) selected from a list
- for a pd object who needs to notify a window:
-
- inherit the attribute "subscribers" and the service
"publish" -- from a pdobject class -- and notify your
subscribers when a change occurs (up to each subscriber
to decide what to do from there).
Str#80. "Establish DM Object Connections" Strategy
- For a data management object, include an object
connection (expressed as an attribute) to the problem-domain
objects (all of the objects in some problem-domain class)
that it is responsible for.
Establishing responsibilities
/ who I know
Strategies for building object
models