May 2002
Intermediate to advanced
416 pages
8h 37m
English
The first rule of partitioning control is you do not make controller objects.
The second rule of partitioning control is you do not make controller objects.[1]
A controller object comes about when developers create objects to match use cases. As an example of poor partitioning—actually, no partitioning at all—see the single Order Controller class in Figure 14.1, which controls an entire use case for making and fulfilling an order. All communication goes through the Order Controller, which “simplifies” the collaboration diagram, but leaves the order controller with a very large statechart diagram.
The statechart ...
Read now
Unlock full access