Friday, October 28, 2016

UML Tutorial

I am going to write a topic Unified Modelling Language(UML), it is a standard visual model language for writing software blueprints. The main goal of UML is to become a common language for creating models of Object Oriented computer software. This common language for business analysts,Software Architect and software developers mostly used to design,specify,describe and structure and behavior of artifact of software system.Use Case provides a way for your developers to come to common understanding with your system's end users and domain experts.Well structured use cases represents essential system or sub system behaviors.
Where can The UML be used?

The UML is intended primarily for software systems. It has been used effectively for such domains are:
  • Enterprise information systems
  • Banking and Financial Services
  • Telecommunications
  •  Retail
  • Healthcare
  • Scintific
  • Distributed web-services
 The UML is not limited to modeling software,it is also used in nonsoftware system such as workflow in the legal system,the structure and behavior of a patient health care system and
hardware design.

Building Blocks of UML:

UML has three kinds of Blocks.They are
1.Things
2.Relationships
3.Diagrams
   

 
The present version of UML is UML 2.5 released in 2015 and the most useful standard diagrams are use case diagram,class diagram,sequence diagram,activity diagram, component diagram and deployment diagram. 

Why do we model?

There is one fundamental reason, we build models so that we can better understand the system that we are developing.
The fallowing aims can achieve through modeling:
  1. Models help us to visualize the system as it is or as we want it to be.
  2. Models permit us to specify the structure or behavior of the system.
  3. Models give us a template that guides us in constructing system.    

Use Case diagram:

The main purpose of this diagram is to tell the developers about functional requirements of system including the relationship of actors  to essential process and different use cases. Here actors are called users,according to the UML notation actors might be person or hardware.Use Case deal only in the functional requirements of the system. 

The fallowing Use Case diagram show how system interacts with its environment,typically interactions involving its users. You can apply use cases to your whole system or to part of your system.
 In the above notation permits to visualize a use case apart from its realization and in context with other use cases. Here,graphically uses case is rendered as  in ellipse.

Class diagram:

The purpose of this class diagram is to depict the classes within a model. In an object oriented application, class have attributes(memeber variables) and operations(member functions) and relationship with other classes.The fundamental element of the class diagram is an icon the represents a class. The fallowing diagrams shows the class diagram.
A class is simply a rectanlge divided into three components. The topmost compartment contains name of the class.The middle one contains a list of attributes(member variables) and the bottom compartment contains a list of operations(member functions).

Example:
In this example i am taking name of the class is circle and their attributes,operations.
In the Next Sessions we will discuss remains diagrams.

 

 
  


 


 

 

No comments:

Post a Comment

High Paying Jobs after Learning Python

Everyone knows Python is one of the most demand Programming Language. It is a computer programming language to build web applications and sc...