steps in object oriented design process

steps in object oriented design process

T1.System Design

Object-orientated system layout includes defining the context of a system accompanied with the aid of designing the structure of the gadget.

Context − The context of a system has a static and a dynamic element. The static context of the gadget is design the use of a easy block diagram of the complete machine that is multiply right into a hierarchy of subsystems. However, The subsystem model is represent by means of UML packages. The dynamic context describes how the system interacts with its environment. Therefore, It is model the use of use case diagrams.

System Architecture − The gadget architecture is design on the premise of the context of the device according with the concepts of architectural design as well as area information. Typically, a machine is partition layers and every layer is decompose to form the subsystems steps in object oriented design process.

2.Object-Oriented Decomposition

Therefore, Decomposition approach dividing a huge complex system right into a hierarchy of smaller additives with lesser complexities, on the concepts of divide–and–triumph over. Each major element of device is known as a subsystem. However, Object-oriented decomposition identifies man or woman independent gadgets in a machine and the conversation among these items.

The benefits of decomposition are −

  • The person components are of lesser complexity, and so extra understandable and possible.
  • It allows division of personnel having specialized capabilities.
  • It lets in subsystems to be replaced or modified with out affecting other subsystems.

3.Identifying Concurrency

Concurrency lets in multiple gadgets to acquire occasions at the equal time and a couple of activity to be finished concurrently. Therefore, Concurrency is identified and represented within the dynamic model.
To permit concurrency, every concurrent element is assigned a separate thread of control. If the concurrency is at object stage, then concurrent gadgets are assigned two specific threads of control. Therefore, If operations of a unmarried item are concurrent in nature, then that object is cut up among extraordinary threads.
Therefore, Concurrency is associated with the troubles of data integrity, deadlock, and hunger. However, So a clear method wishes to be made each time concurrency is required. Besides, concurrency requires to be diagnosed at the layout stage itself, and can’t be left for implementation degree.

4.Identifying Patterns

While designing applications, some commonly universal solutions are followed for some classes of problems. Therefore, These are the styles of layout. However, A sample may be described as a documented set of constructing blocks that may be used in certain sorts of application improvement troubles.

Some normally used design styles are −

  • Façe pattern
  • Model view separation sample
  • Observer sample
  • Model view controller pattern
  • Publish subscribe pattern
  • Proxy pattern

5.Controlling Events

During system layout, the activities that can arise within the objects of the machine want to be recognized and appropriately treated.
An event is a specification of a good sized prevalence that has a region in time and area.

There are four kinds of activities that can be modelled, namely −

  • Signal Event − A named object thrown with the aid of one item and caught by some other item.
  • Call Event − A synchronous event representing dispatch of an operation.
  • Time Event − An event representing passage of time.
  • Change Event − An occasion representing exchange in state.

6.Handling Boundary Conditions

The gadget design segment desires to deal with the initialization and the termination of the device as an entire in addition to each subsystem. The extraordinary elements which might be documented are as follows −
The start–up of the gadget, i.E., the transition of the system from non-initialized state to steady country.
The termination of the machine, i.E., the final of all going for walks threads, cleansing up of assets, and the messages to be dispatch. The preliminary configuration of the gadget and the reconfiguration of the gadget whilst want.
Foreseeing disasters or undesired termination of the system.
Boundary conditions are model using boundary use cases.

7.Object Design

After the hierarchy of subsystems advance, the items within the system are diagnose and their info are designed. Here, the dressmaker details out the approach selected throughout the gadget layout.However,  The emphasis shifts from utility area standards towards laptop principles. The gadgets recognized in the course of evaluation are etched out for implementation with an intention to reduce execution time, reminiscence consumption, and normal price steps in object oriented design process.

Object layout includes the subsequent levels −

  • The Object identification
  • Object illustration, i.E., creation of layout models
  • Classification of operations
  • Algorithm layout
  • Design of relationships
  • Implementation of manage for external interactions
  • Package instructions and institutions into modules

8.Object Identification

The first step of object layout is object identification steps in object oriented design process. The objects identified in the item–oriented analysis stages are group into training and refine so that they’re suitable for real implementation.

The features of this degree are −

  • Identifying and refining the instructions in each subsystem or package deal
  • Defining the links and institutions between the instructions
  • Designing the hierarchical associations a number of the lessons, i.E., the generalization/specialization and inheritances
  • Designing aggregations

9.Object Representation

Once the classes are identify, they need to be represent the use of item modelling strategies. This stage essentially includes building UML diagrams.

There are varieties of layout models that want to be produced −

  • Static Models − To describe the static shape of a system the use of elegance diagrams and object diagrams.
  • Dynamic Models − To describe the dynamic shape of a system and show the interaction between classes using interaction diagrams and kingdom–chart diagrams.

10.Classification of Operations

The operation to be finish on objects are define by means of combining the 3 models developed the OOA section, particularly, object version, dynamic version, and purposeful version. An operation specifies what is to be execute and no longer the way it must be carry out.

The following obligations are execute regarding operations −

  • The country transition diagram of each item the machine is evolve.
  • Operations are define for the occasions obtain by way of the items.
  • Cases in which one occasion triggers different occasions in same or specific gadgets are recognize.
  • The sub–operations inside the movements are identify.
  • The predominant moves are multiply to records flow diagrams.

11.Algorithm Design

The operations in the items are describe using algorithms. An algorithm is a stepwise manner that solves the trouble laid down in an operation. Algorithms consciousness on how it’s far to be carry out.
There may be one algorithm similar to a given operation. Once the opportunity algorithms are diagnose, the most reliable algorithm is select for the given trouble domain.

The metrics for deciding on the superior algorithm are −

  • Computational Complexity − Complexity determines the efficiency of an algorithm in terms of computation time and reminiscence necessities.
  • Flexibility − Flexibility determines the select set of rules may be apply certainly, lack of appropriateness in numerous environments.
  • Understandability − This determines whether the chosen algorithm is straightforward to recognize and put in force.

12.Design of Relationships

The method to implement the relationships wishes out at some point of the object design section. However, The important relationships which are address comprise of institutions, aggregations, and inheritances.

The clothier have to do the subsequent concerning institutions −

  • Identify whether or not an association is unidirectional or bidirectional.
  • Analyze the course of institutions and replace them if necessary.
  • Implement the institutions as a distinct item, in case of many–to-many relationships; or as a hyperlink to other object in case of one–to-one or one–to-many relationships.

Regarding inheritances, the clothier have to do the following −

  • Adjust the instructions and their institutions.
  • Identify abstract classes.
  • Make provisions in order that behaviors are share want.

13.Implementation of Control

The object designer additional comprise refinements the method of the kingdom–chart version. Therefore, in device layout, a primary method for the dynamic model made. Item layout, this strategy is aptly adorn for suitable implementation.

The procedures for implementation of the dynamic version are −

Represent State as a Location a Program − This is the traditional method-push approach the region of manipulate defines this system nation. A finite nation device implement as a program. Therefore, transition bureaucracy an enter announcement, the main control course bureaucracy the sequence of commands, the branches form the situations, and the backward paths form the loops or iterations.

State Machine Engine − This technique at once represents a country machine through a kingdom machine engine elegance. This magnificence executes the nation system through a set of transitions and moves furnished with the aid of the application.

Control as Concurrent Tasks − In this technique, an item is implemente as a project in the programming language or the operating device. An event is apply as an inter-project name. It preserves inherent concurrency of real items.

14.Packaging Classes

However, In any massive assignment, meticulous partitioning of an implementation into modules or applications is essential. Object layout, instructions and gadgets are group into programs to permit a couple of organizations to work cooperatively on a challenge.

The one of a kind aspects of packaging are −

Hiding Internal Information from Outside View − It lets in a category to be view as a “black field” and permits elegance implementation to be modify without requiring any customers of the magnificence to adjust code.

Coherence of Elements − An detail, such as a category, an operation, or a module, is coherent if it is organize on a constant plan and all its components are intrinsically related so that they serve a commonplace purpose.

Construction of Physical Modules − The following suggestions assist even as constructing physical modules −
Classes in a module ought to constitute comparable matters or components within the identical composite item.
Closely connected classes have to be within the identical module.
Unconnect or weakly related instructions place in separate modules.
Modules need to have appropriate cohesion, i.E., excessive cooperation among its additives.
A module ought to have low coupling with different modules, i.E., interplay or interdependence between modules be minimum.

15.Design Optimization

The analysis model captures the logical information approximately the machine, at the same time as the design version adds information to support efficient statistics access. Therefore, It have to be optimize in order to make the implementation extra green. The purpose of optimization is to minimize the fee in phrases of time, area, and other metrics.

However, Design optimization should now not be excess, as ease of implementation, maintainability, and extensibility are essential concerns. It is that a superbly optimize design is extra green much less readable and reusable. Therefore, The fashion designer must strike a balance among the 2.

The diverse matters that may be finished for design optimization are −

  • Add redundant institutions
  • Omit non-usable associations
  • Optimization of algorithms
  • Save derived attributes to keep away from re-computation of complex expressions

16.Addition of Redundant Associations

Layout optimization, it’s miles check if deriving new institutions can lessen get admission to charges. Therefore, Redundant institutions may not add any facts, they’ll boom the efficiency of the general version.

17.Omission of Non-Usable Associations

Presence of many associations can render a system indecipherable and lessen the efficiency of the system. Therefore, All non-usable institutions are eliminate.

18.Optimization of Algorithms

In item-orientate structures, optimization of statistics structure and algorithms are execute in a collaborative way. However, The magnificence layout is in place, the operations and the algorithms need optimize.

Optimization of algorithms is acquire by −

  • Rearrangement of the order of computational obligations.
  • Reversal of execution order of loops from that laid down inside the functional model.
  • Removal of lifeless paths inside the algorithm.

19.Saving and Storing of Derived Attributes

However, Derive attributes are the ones attributes whose values are compute as a feature of other attributes (base attributes). Re-computation of the values of derived attributes each time they’re needed is a time–eating system. Therefore, To keep away from this, the values can be compute and save of their computed forms steps in object oriented design process.

To keep away from this, the subsequent steps are take −

  • With each update of the base attribute cost, the derive characteristic is re-compute.
  • All the derive attributes are re-compute and update periodically in a group in place of after each update.

20.Design Documentation

Documentation is an crucial part of any software program improvement procedure that statistics the technique of making the software. However, The layout choices want to be document for any non–trivial software system for transmitting the layout to others steps in object oriented design process.

Usage Areas

A secondary product, a very good documentation is indispensable,  following areas −

Designing software is develop the aid of some of developers.
Iterative software program improvement strategies.
Growing next variations of a software program undertaking.
Comparing a software program.
Locating situations and areas of testing.
Protection of the software.


A beneficial documentation following contents −

High–degree system structure − Process diagrams and module diagrams
Key abstractions and mechanisms − Class diagrams and item diagrams.
Scenarios that illustrate the conduct of the principle elements − Behavioural diagrams


The features of an amazing documentation are −

Concise and on the identical time, unambiguous, steady, and whole.
Traceable to the system’s requirement specs.
Diagrammatic descriptive.

Leave a Reply

Your email address will not be published. Required fields are marked *