Opinions on Robustness Stereotypes
From: kk_oop
Date: 10/28/03
- Next message: Stefan: "Re: Applying contracts to abstract base class?"
- Previous message: Alfredo Novoa: "Re: OO's best feature survey results"
- Next in thread: H. S. Lahman: "Re: Opinions on Robustness Stereotypes"
- Reply: H. S. Lahman: "Re: Opinions on Robustness Stereotypes"
- Reply: Paul Campbell: "Re: Opinions on Robustness Stereotypes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 28 Oct 2003 07:30:38 -0500
Hi.
I'm looking for opinions on using robustness class stereotpes, namely,
Boundary, Control and Entity classes. My sense is that these are useful
categorizations for moving from use case narrative to actual design.
This is especially good for folks just coming onto the OO train, as it
forces them to consider encapsulation based on these classes criteria.
It also seems like it would aid design reviews by showing visually that,
for instance, interfaces (Boundary) and passive/persistant objects
(entity) have been isolated from busniess rules (Control). This seems
especially useful when one control class is defined to be the "manager"
for each use case. That control class would then communicate with
actors via boundary objects and check/change states of core data via
domain objects.
I've seen the usage of these classes described as only being done for
analysis, but retaining these stereotypes seems like it would be useful
for the design classes, as well, primarily because they quickly and
visually give a sense as to how the design is organized. I say this
with the caveat that many control analyses classes would end up getting
rolled into boundary or entity objects, though I think most of the use
case manager control classes would remain control classes in the design.
I'm looking for comments from folks who have used this OO technique.
I'd like to know if it worked for you, and if you found it useful for
retaining the stereotypes for the design classes--or if you found
compelling reasons to not do so.
Thanks!
Ken
- Next message: Stefan: "Re: Applying contracts to abstract base class?"
- Previous message: Alfredo Novoa: "Re: OO's best feature survey results"
- Next in thread: H. S. Lahman: "Re: Opinions on Robustness Stereotypes"
- Reply: H. S. Lahman: "Re: Opinions on Robustness Stereotypes"
- Reply: Paul Campbell: "Re: Opinions on Robustness Stereotypes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|