Sams Teach Yourself C++ in 21 Days

(singke) #1
Object-Oriented Analysis and Design 367

11


Iterations ..............................................................................................................


In the Rational Unified Process, the activities listed previously are “workflows” that pro-
ceed at different levels across the phases of inception, elaboration, construction, and tran-
sition. For instance, business modeling peaks during inception but can still be occurring
during construction as the review of the developed system fleshes out the requirements,
whereas implementation peaks during construction, but can be occurring when proto-
types are created for the elaboration phase.
Within each phase, such as construction, there can be several iterations. In the first itera-
tion of construction, for instance, the core functions of the system can be developed; in
the second iteration, those capabilities can be deepened and others added, In the third
iteration, yet more deepening and addition might occur, until an iteration is reached in
which the system is complete.

Summary ..............................................................................................................


Today’s lesson provided an introduction to the issues involved in object-oriented analysis
and design. The essence of this approach is to analyze how your system will be used (use
cases) and how it must perform, and then to design the classes and model their relation-
ships and interactions.
In the old days, ideas for what should be accomplished were sketched out and the writing
of the code began quickly. The problem is that complex projects are never finished; and
if they are, they are unreliable and brittle. By investing up front in understanding the
requirements and modeling the design, you ensure a finished product that is correct (that
is, it meets the design) and that is robust, reliable, and extensible.
Much of the rest of this book focuses on the details of implementation. Issues relating to
testing and rollout are beyond the scope of this book, except to mention that you want to
plan your unit testing as you implement, and that you will use your requirements docu-
ment as the foundation of your test plan prior to rollout.

Q&A ....................................................................................................................


Q I didn’t learn any C++ programming in today’s lesson. Why was this lesson
included?
A To be effective in writing C++ programs, you have to know how to structure them.
By planning and designing before you start coding, you will build better, more
effective C++ programs.
Free download pdf