Part 1:
UML IS NOT A PROGRAMMING LANGUAGE____________________
UML Basic :
The Unified Modelling Language (UML) is the general purpose visual modeling language (A modelling language can be made up of pseudo-code, picture, diagram or long passages of description. ) that is used to specify, visualize, construct and document the artifacts of software system. it captures decision and understanding (Static and Dynamic behavior ) about the systems that must be constructed.
- The static behavior defines the kinds of objects important to a system and to implementation, as well as the relationships among the Object.
- The dynamic behavior defines the history of objects over time and the communications among objects to accomplish goals.
when to use UML:
a) UML as a SKETCH - use UML to make brief sketches to conve key points.
b) UML as a BLUEPRINT - deatil definition
c) UML as a PROGRAMMING LANGUAGE - UML model to executable code
Advantage of using UML:
a) It is concise - made up of simple and straightforward notation.
b) It is comprehensive - describes all important aspect of system.
c) It is scalable - enough to handle massive system modelling projects.
d) It is standard - way to represent
Different view of Model :
There are number of ways, you can break the UML model diagram into views that capture your essence of system.
Logical view -
- Describes the abstract descriptions which is used to model what a system is made up of and how the parts interact with each other, this view include class, object, state machine, and interaction diagrams.
Process view -- Describes the processes within your system and what must happen within your system. This view typically contains activity diagrams.
Development view -- Describes how your system's parts are organized into modules and components. This view typically contains package and component diagrams.
Physical view -- Describes how the system's design, as described in the three previous views, This view typically contains deployment diagrams.
Use case view -- Describes the functionality of the system being modeled from the perspective of the outside world.