Understanding UML Diagrams and Usage
Understanding UML Diagrams and Usage
2
Introduction
Programming technologies have continued to evolve since the emergence of
computers. This evolution is strongly demanded to meet an incessant need for
to produce more complex applications.
The main advancement of the last twenty years lies in object-oriented programming.
object (P.O.O.).In the face of this new programming paradigm, many methods
were born like Booch, OMT ...
In this context and in the face of the proliferation of new design methods
object-oriented", the Object Management Group (OMG) aimed to define a
standard notation usable in object-based software development.
“
The Unified Modeling Language, in English Unified Modeling
UML, is a graphical modeling language based
of pictograms designed to provide standardized templates for
visualize the design of a system. It is commonly used
in software development and object-oriented design
4
HISTORY
5
UML is the result of the merging of previous object modeling languages: Booch, OMT, OOSE.
Mainly stemming from the work of Grady Booch, James Rumbaugh, and Ivar Jacobson. Because each
the method has its own means of representation (graphic, diagram, plan, flowchart).
1997
OMG
Maps
7
UML Versions
2.5.1 December 2017
“
A model is an abstraction of reality. It defines a boundary between
the reality and the perspective of the observer. It is not 'the reality', but
a very subjective view of reality. Although a model does not represent
an absolute reality, a model reflects important aspects of the
reality, it therefore provides a fair and relevant view
10
Importance of modeling
11
UML is a communication tool.
Limit ambiguities
Speak a common language, with precise vocabulary.
Independence
It is independent of programming languages, of the domain
of application, of the development process, etc., which makes it a
universal language. 12
UML is a communication tool
13
The categories of UML diagrams
UML diagrams are all created based on the needs of the users and
can be grouped according to the following two aspects:
ü The functional aspects: Who will use the software and for what purpose?
How should the actions take place? What information
will be used for that?
15
UML diagrams since UML 2.3
16
UML
Behavior Diagrams
17
UML: Behavior Diagrams
Behavior diagrams encompass:
18
UML: Behavior Diagrams
19
UML: Behavior Diagrams
State-transition diagram
state machine diagram
20
UML: Behavior Diagrams
Activity diagram
(activity diagram)
21
UML
Static Diagrams
22
UML: Static Diagrams
Static diagrams or structure diagrams
diagrams) gather:
qClass diagram.
qObject diagram.
qComponent diagram.
qDeployment diagram.
qPackage diagram.
23
UML: Static Diagrams
Class diagram
(class diagram)
24
UML: Static Diagrams
Object diagram
(class diagram)
25
UML: Activity diagrams
Component diagram
(component diagram)
It represents the
software components of
point system
physical views, such as they
are implemented
(files, libraries,
databases...)
26
UML: Static Diagrams
Deployment diagram
(deployment diagram)
It represents elements
equipment (computers, peripherals,
networks, storage systems...) and the
way in which the components of the
systems are installed on these
material elements and interact
between them.
27
UML: Diagrammes Statiques
Package Diagram
(package diagram)
It represents dependencies between packages (a package being a container
logic that allows grouping and organizing elements in the UML model
that is to say between the sets of definitions.
28
UML: Static Diagrams
29
UML: Static Diagrams
Profile diagram
(profile diagram)
30
UML
Dynamic Diagrams
31
UML: Dynamic Diagrams
Dynamic diagrams or interaction
diagrams) bring together:
32
UML: Dynamic Diagrams
Sequence diagram
(sequence diagram)
Sequential representation
of the course of the treatments and of the
interactions between the elements of
system and/or its actors.
33
UML: Dynamic Diagrams
Communication diagram
(communication diagram)
34
UML: Dynamic Diagrams
35
UML: Dynamic Diagrams
Time diagram
(timing diagram)
Representation of variations
from a data during the
temps (depuis UML 2.3).
36
UML in practice
37