Chapter 2
Chapter 2
II
Object Orientation the new software
paradigm
Chapter
Outline
The potential benefits of object orientation
Object standards
It also stays in the future because of the standard set by the OMG.
CORBA( Common object request broker architecture): the standard
architecture for
supporting distributed objects.
UML ( Unified modeling language)-the standard modeling language for the object
oriented software.
ANSI(Americans National Standards Institute)-Defined standards
for C++. Http://www.ansi.org
Cntd…
i. Object–Oriented Analysis
In this stage, the problem is formulated, user requirements are identified, and
then a model is built based upon real– world objects.
The analysis produces models on how the desired system should function and
how it must be developed.
The models don’t include any implementation details so that it can be
understood and
Cntd…
ii. Object–Oriented Design
Object-oriented design includes two main stages, namely, system design and object
design.
I . System Design:
In this stage, the complete architecture of the desired system is designed.
The system is considered as a set of interacting subsystems that in turn is
composed of a hierarchy of interacting objects, grouped into classes.
System design is done according to both the system analysis model and the
proposed system architecture.
Here, the emphasis is on the objects comprising the system rather than the
processes in the system.
Cntd…
II. Object Design: In this phase, a design model is developed based on both the models
developed in the system analysis phase and the architecture designed in the system design
phase.
All the classes required are identified.
The designer decides whether: new classes are to be created from scratch,
any existing classes can be used in their original form, or
new classes should be inherited from the existing classes
The associations between the identified classes are established and the hierarchies of
classes are identified.
Besides, the developer designs the internal details of the classes and their
associations, i.e., the data structure for each attribute and the algorithms for the
operations.
Cntd…
are ascertained.