1chapter 5
1chapter 5
Activity diagramming
User Documentation
The easiest way to begin conceptual modelling is to convert the CRC (as a
base) directly to UML class diagram. While a CRC model provides an
excellent overview of a system, it doesn„t provide the details needed to
actually build it.
For each card in the CRC model, you create a concrete class in the class
diagram, with the exception of cards that represent actors (actors exist in the
real world). The CRC model for the University represented here below:
Con…
Con..
Notice how the names stayed the same (spaces were
removed from the names to follow the naming convention
of class name). The collaborators on the CRC cards
indicate the need for an association, aggregation,
association, or dependency between classes.
Dependencies are modeled between UI classes and the
business classes with which they collaborate because UI
classes are transitory in nature, implying the associations
they are involved with are transitory. The diagram consists
of the association and dependency between classes.
Implying the associations they are involved with is
transitory, and hence should be modeled as dependencies.
The corresponding class model of the CRC model
Con…
Activity Diagrams
activity diagrams are used to document the logic of a single
operation/ method, a single use case, or the flow of logic of a
business process. In many ways, it is the object-oriented
equivalent of flow charts and data-flow diagrams (DFD) from
structured development.
Example: The activity diagram for how someone new to the
university would enroll for the first time:
User interface prototyping Evolving your supplementary specification
It is an iterative analysis technique in which users are actively involved in the
mocking-up of the UI for a system. UI prototyping has two purposes:
1. It is an analysis technique because it enables you to explore the problem space
your system addresses.
2. It enables you to explore the solution space of your system, at least from the
point-of-view of its users, and provides a vehicle for you to communicate the
possible UI design(s) of your system.
There are four high-level steps are in the UI prototyping process:
a. Determine the needs of your users.
b. Build the prototype
c. Evaluate the prototype
d. Determine if you are finished.
Con….
It is the iterative steps of prototyping, and summed-up as
follows:
Packages are depicted as file folders and can be used on any of the
UML diagrams, although they are most common on use case
diagrams and class diagrams because these models have tendency to
grow.