Please enable JavaScript.
Coggle requires JavaScript to display documents.
INTRODUCTION TO
SOFTWARE ARCHITECTURE, 4 + 1 ViewModel - Coggle Diagram
-
4 + 1 ViewModel
-
Process View
Sequence Diagrams
Note
An actor does not necessarily represent a specific physical entity
but merely a particular role of some entity
A person may play the role of several different actors and,
conversely, a given actor may be played by multiple different
person
Purpose
-
-
-
Either model generic interactions (showing all possible paths through the interaction) or specific instances of a interaction (showing just one path through the interaction)
Communication Diagrams
Purpose
Model message passing between objects or roles that deliver the
functionalities of use cases and operations
Support the identification of objects (hence classes), and their attributes (parameters of message) and operations (messages) that participate in use cases
-
Capture interactions that show the passed messages between
objects and roles within the collaboration scenario
Model alternative scenarios within use cases or operations that
involve the collaboration of different objects and interactions
Note
The top and the bottom of the rectangle are aligned with the
initiation and the completion time respectively.
In communication diagram focus of control is explicit and thus,
can be represented by the message nest numbering.
It is an extension of object diagram that shows the objects along
with the messages that travel from one to another.
Physical View
Deployment Diagrams
Purpose: In communication diagram focus of control is explicit
and thus, can be represented by the message nest numbering.
-
-
Logical View
Class Diagrams
-
Note
-
Class Relationships Type
-
-
-
-
Dependency: Exists between two classes if changes to the
definition of one may cause changes to the other
Relationship - Roles
-
Roles are written at the ends of an association line and describe the purpose played by that class in the relationship.
-
Object Diagrams
Purpose
Before you create a class diagram, You might create an object diagram to discover facts about specific model elements and their links, or to illustrate specific examples of the classifiers that are required.
During the analysis phase of a project, You might create a class diagram to describe the structure of a system and then create a set of object diagrams as test cases to verify the accuracy and completeness of the class diagram.
Attention: In UML, object diagrams provide a snapshot of the instances in a system and the relationships between the instances. By instantiating the model elements in a class diagram, you can explore the behavior of a system at a point in time.
-
Implementation View
-
Component Diagrams
Note
-
it is used for component based system...which include
constructed component that can be reused or replaced.
Shows components, provided and required interfaces, ports, and
relationships between them.
Shows components, provided and required interfaces, ports, and
relationships between them.
Scenario View
Use Case
Note
You can describe those details in other UML diagram types and
documents, and have them be linked from use cases.
-
-
User Stories
-
Purpose
-
The simple and consistent format saves time when capturing and prioritizing requirements while remaining versatile enough to be used on large and small features alike.
-
Avoid introducing detail too early that would prevent design
options and inappropriately lock developers into one solution
-
Leave the technical functions to the architect, developers,
testers, and so on