Design using UML

(Universal Modeling Language)

Topic Today

  • Why we need to use UML

  • Types of UML

  • Component Diagram

  • Class Diagram

Why we need to use UML?

help developer easily understand project

Why we need to use UML?

help software developer to communicate

Imagine you have a project like this...

You hardly know the overview of the project

Using UML

Types of UML

Structural Diagrams

Behaviour Diagrams

Class Diagrams

Profile Diagrams

Package Diagrams

Composite Structure Diagrams

Deployment Diagrams

Component Diagrams

Activity Diagrams

UseCase Diagrams

Sequence Diagrams

State Machine Diagrams

Communication Diagrams

Interaction Overview Diagrams

Timing Diagrams

Object Diagrams

Component Diagram

  • use to describe organization and the wiring of the component in the system
  • used to model the physical aspects of a system
  • double check whether every component and function is cater in the design

Component Diagram

Interface

Dependency

Port

expose required and provide interface of a component

Example

Class Diagram

  • static diagram
  • static view of an application
  • constructing executable code of the software application
  • describe attributes and methods of a class
  • widely use in object-oriented system

classname

attributes

method

parameters

data type

Class Diagram Symbol

Example

Reference

Design using UML

By shirlin1028

Design using UML

  • 232