Designing Release 2

In this section, we run through the modeling activities that took place to create the design for release 2 of the mapplet.

Sequence Diagrams

Figure 8-5 shows the sequence diagram for the “Filter Hotels” use case.

image from book
Figure 8-5: Sequence diagram for the “Filter Hotels” use case

As in the robustness diagram, the sequence diagram covers two scenarios: filtering by amenity and filtering by hotel chain.

Class Diagram

The finished class diagram for release 2 is shown in Figures 8-6 and 8-7.

image from book
Figure 8-6: Class diagram (part 1) for release 2

image from book
Figure 8-7: Class diagram (part 2) for release 2

image from book
CODE AND DESIGN: TO CONVERGE OR TO DIVERGE?

With release 2, it’s noticeable that the developers have grown more accustomed to the ICONIX modeling process, and in fact they’re starting to drive new features from the use cases and sequence diagrams. So (perhaps for the first time in recorded history?) we actually accomplished the feat of having the model and the code converge over time, as opposed to diverging over time. (Historically, models and code always have tended to diverge over time. Reverse-engineering tools have helped a little bit back at the class level, but nothing has really had much impact at the use case level.)

Perhaps another way to state this is that a feedback-driven process also has benefits in terms of improved modeling technique, with a short first release taken all the way through to code and then feedback on how the models could have been improved. The developers, seeing the resulting improvements in the code definitely took the modeling more seriously in the next iteration and avoided a lot of potential rework on both the models and the code. (Restated once again:“Eureka—it works!”)

The issue of code/design divergence is discussed further in Figure 7-1).

image from book



Agile Development with ICONIX Process. People, Process, and Pragmatism
Agile Development with ICONIX Process: People, Process, and Pragmatism
ISBN: 1590594649
EAN: 2147483647
Year: 2005
Pages: 97

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net