Thursday, April 9, 2015

CHAPTER - 1 [ Introduction to UML ]

Why UML ?

UML (Unified Modelling Language) is a standard language to specify, construct and document software systems. It is a way of picturing the software blueprints and it is completely different from languages like C++, Java etc: UML is not developed only for developers but ones who need to understand the business scenarios or the system is also can get used to UML. And the most important thing is, UML is not only for software projects but also for other projects as well.

Let's look at a real life example to understand the importance of UML. 
You are constructing a building. A single block building. So the architect designs the pattern and the builders use it to construct the building (blue print).It is the way that the architect and the builder communicate with each other. More the building is complex there is a higher complexity in communication between the architect and the builder.

Designing a software is not that easy. It is more complicated than constructing a building because ones who are involved in designing a software need to have critical communications among each other.So UML has emerged as a software blueprint language for analysts, designers and programmers because it addresses all types of above users.

The most important thing is UML is applicable to Object Oriented Problem solving.


Object Oriented Problem Solving (OOP)

Object Oriented Concept is a programming paradigm based on the concept of "Object".They are data structures which consists of data, fields (attributes) which have procedures.

Object Oriented Concepts

  • Object
  • Class
  • Abstraction
  • Encapsulation
  • Inheritance
  • Polymorphism

Object- An object represents an entity.

Class-Blue print of the object.

Abstraction-Behavior of the real world entity.

Encapsulation-Mechanism of binding data together.

Inheritance-Making new classes from an existing class.

Polymorphism-Mechanism to exists in different forms.


1 comment: