SlideShare a Scribd company logo
1 of 14
Induction Training Program | 2011

Object Oriented Modeling and Design
              By Shibu S R
Object Oriented Modeling & Design | Object Oriented Design




           One approach to software design

           Object-oriented design is the process of planning a system of
           interacting objects for the purpose of solving a software problem

           Data Abstraction

           Polymorphism

           Data Hiding

           Extensibility
Object Oriented Modeling & Design | Source for OOD

    Inputs
              Conceptual Design
              Use Case Diagram
              System Sequence Diagram
              User Interface
              Relational Data Model

    Object-oriented concepts
              Classes / Objects
              Information Hiding
              Inheritance
              Interface
              Polymorphism

    Designing Concept
              Defining objects, creating class diagram from conceptual diagram: Usually map entity to class
              Attributes
              Design Pattern
              Application framework
              Identify long lasting data – data base
              Identify remote data

    Output
              Sequence Diagram
              Class Diagram
Object Oriented Modeling & Design | Advantage of OOD




        Easier maintenance. Objects may be understood as stand-alone entities

        Objects are appropriate reusable components

        For some systems, there may be an obvious mapping from real world
        entities to system objects
Object Oriented Modeling & Design | An Object Oriented Design Process




                      Define the context and modes of use of the system

                      Design the system architecture

                      Identify the principal system objects

                      Develop design models

                      Specify object interfaces
Object Oriented Modeling & Design | Architectural Design




                  Once interactions between the system and its environment
                  have been understood, you use this information for designing
                  the system architecture

                  Layered architecture is appropriate

                  There should be no more than 7 entities in an architectural
                  model
Object Oriented Modeling & Design | Object Identification




    Identifying objects (or object classes) is the most difficult part of
    object oriented design

    There is no 'magic formula' for object identification. It relies on the skill, experience and domain
    knowledge of system designers

    Object identification is an iterative process. You are unlikely to get it right first time

    Use a grammatical approach based on a natural language description of the system

    Use a behavioural approach and identify objects based on what participates in what behaviour

    Use a scenario-based analysis. The objects, attributes and methods in each scenario are identified

    Use domain knowledge to identify more objects and operations
Object Oriented Modeling & Design | Object Oriented Model

      What?
            A model is a simplification of reality

            A model may provide
                 blueprints of a system
                 Organization of the system
                 Dynamic of the system
      Why?
                   A successful software organization is one that consistently deploys quality software that meets
      the needs of its users. An organization that can develop such software in a timely and predictable
      fashion, with an efficient and effective use of resources, both human and material, is one that has
      sustainable business

      Model is built to
            Communicate the desired structure and behavior of the system

            Visualize and control the system’s architecture

            Better understand the system that being built

            Manage risk

            Expose opportunities for simplification and reuse

            We build models so that we can see and better understand the system we are developing
Object Oriented Modeling & Design | Object and classes




                Interpretation in the Real World                 Interpretation in the Model


                An object is a thing that can be distinctly      An object has an identity, a state, and
      Object
                identified.                                      a behavior.



                A class represents a set of objects with         A class characterizes the structure of
      Class     similar characteristics and behavior. This       states and behaviors that are shared
                objects are called the instances of the class.   by all instances.
Object Oriented Modeling & Design | Package or Namespace




         An abstract container or environment created to hold a logical
         grouping of unique identifiers or symbols

         They organize large code projects.

         They are delimited with the . operator.

         Packages that will be widely used should be named as the reverse
         of the internet domain as the prefix of the package name
Object Oriented Modeling & Design | Models




        Design models show the objects and object classes and
        relationships between these entities

        Static models describe the static structure of the system in terms of
        object classes and relationships

        Dynamic models describe the dynamic interactions between
        objects - ATM
Object Oriented Modeling & Design | Object Interface Design




          Object interfaces have to be specified so that the objects and other
          components can be designed in parallel

          Designers should avoid designing the interface representation but
          should hide this in the object itself

          Objects may have several interfaces which are viewpoints on the
          methods provided

          The UML uses class diagrams for interface specification
Object Oriented Modeling & Design | Object Oriented Model




                                                   Library


                     Namespace                   Namespace                       Namespace

             Class      Class    Class   Class      Class      Class     Class      Class      Class




                                                                                    Abstract
                                                             Interface
                                                                                     Class
Thank you

More Related Content

What's hot

Design Pattern Notes: Nagpur University
Design Pattern Notes: Nagpur UniversityDesign Pattern Notes: Nagpur University
Design Pattern Notes: Nagpur UniversityShubham Narkhede
 
Gof Design Pattern
Gof   Design PatternGof   Design Pattern
Gof Design Patternguesta4d934
 
GoF Design patterns I: Introduction + Structural Patterns
GoF Design patterns I:   Introduction + Structural PatternsGoF Design patterns I:   Introduction + Structural Patterns
GoF Design patterns I: Introduction + Structural PatternsSameh Deabes
 
Multiple representations talk, Middlesex University. February 23, 2018
Multiple representations talk, Middlesex University. February 23, 2018Multiple representations talk, Middlesex University. February 23, 2018
Multiple representations talk, Middlesex University. February 23, 2018University of Huddersfield
 
Ooad 2marks
Ooad 2marksOoad 2marks
Ooad 2marksAsh Wini
 
Bridging the gap between AI and UI - DSI Vienna - full version
Bridging the gap between AI and UI - DSI Vienna - full versionBridging the gap between AI and UI - DSI Vienna - full version
Bridging the gap between AI and UI - DSI Vienna - full versionLiad Magen
 
Use of artificial neural network in pattern recognition
Use of artificial neural network in pattern recognitionUse of artificial neural network in pattern recognition
Use of artificial neural network in pattern recognitionkamalsrit
 
Domain Driven Design
Domain Driven DesignDomain Driven Design
Domain Driven DesignNader Albert
 
Design Patterns - General Introduction
Design Patterns - General IntroductionDesign Patterns - General Introduction
Design Patterns - General IntroductionAsma CHERIF
 
Let us understand design pattern
Let us understand design patternLet us understand design pattern
Let us understand design patternMindfire Solutions
 
Object Oriented Design Concept
Object Oriented Design ConceptObject Oriented Design Concept
Object Oriented Design ConceptSharath g
 

What's hot (19)

Design Pattern Notes: Nagpur University
Design Pattern Notes: Nagpur UniversityDesign Pattern Notes: Nagpur University
Design Pattern Notes: Nagpur University
 
Gof Design Pattern
Gof   Design PatternGof   Design Pattern
Gof Design Pattern
 
Ooad
OoadOoad
Ooad
 
Design patterns
Design patternsDesign patterns
Design patterns
 
GoF Design patterns I: Introduction + Structural Patterns
GoF Design patterns I:   Introduction + Structural PatternsGoF Design patterns I:   Introduction + Structural Patterns
GoF Design patterns I: Introduction + Structural Patterns
 
Multiple representations talk, Middlesex University. February 23, 2018
Multiple representations talk, Middlesex University. February 23, 2018Multiple representations talk, Middlesex University. February 23, 2018
Multiple representations talk, Middlesex University. February 23, 2018
 
Ooad 2marks
Ooad 2marksOoad 2marks
Ooad 2marks
 
Unit 4
Unit 4Unit 4
Unit 4
 
Design pattern
Design patternDesign pattern
Design pattern
 
Ooad unit 1
Ooad unit 1Ooad unit 1
Ooad unit 1
 
Bridging the gap between AI and UI - DSI Vienna - full version
Bridging the gap between AI and UI - DSI Vienna - full versionBridging the gap between AI and UI - DSI Vienna - full version
Bridging the gap between AI and UI - DSI Vienna - full version
 
Use of artificial neural network in pattern recognition
Use of artificial neural network in pattern recognitionUse of artificial neural network in pattern recognition
Use of artificial neural network in pattern recognition
 
Introduction to DDD
Introduction to DDDIntroduction to DDD
Introduction to DDD
 
Domain Driven Design
Domain Driven DesignDomain Driven Design
Domain Driven Design
 
Sda 8
Sda   8Sda   8
Sda 8
 
Design Patterns - General Introduction
Design Patterns - General IntroductionDesign Patterns - General Introduction
Design Patterns - General Introduction
 
Let us understand design pattern
Let us understand design patternLet us understand design pattern
Let us understand design pattern
 
Object Oriented Design Concept
Object Oriented Design ConceptObject Oriented Design Concept
Object Oriented Design Concept
 
Pawan111
Pawan111Pawan111
Pawan111
 

Similar to Itp oo mand-d

OOAD unit1 introduction to object orientation
 OOAD unit1 introduction to object orientation OOAD unit1 introduction to object orientation
OOAD unit1 introduction to object orientationDr Chetan Shelke
 
dotnet stuff.com tutorials-design-patterns_exploring-net-design-patterns-in-s...
dotnet stuff.com tutorials-design-patterns_exploring-net-design-patterns-in-s...dotnet stuff.com tutorials-design-patterns_exploring-net-design-patterns-in-s...
dotnet stuff.com tutorials-design-patterns_exploring-net-design-patterns-in-s...Anil Sharma
 
Object Modelling Technique " ooad "
Object Modelling Technique  " ooad "Object Modelling Technique  " ooad "
Object Modelling Technique " ooad "AchrafJbr
 
Architecture and design
Architecture and designArchitecture and design
Architecture and designhimanshu_airon
 
Software enginering.group-no-11 (1)
Software enginering.group-no-11 (1)Software enginering.group-no-11 (1)
Software enginering.group-no-11 (1)riarana10
 
ap assignmnet presentation.pptx
ap assignmnet presentation.pptxap assignmnet presentation.pptx
ap assignmnet presentation.pptxAwanAdhikari
 
Software Design Patterns - An Overview
Software Design Patterns - An OverviewSoftware Design Patterns - An Overview
Software Design Patterns - An OverviewFarwa Ansari
 
Uml diagram assignment help
Uml diagram assignment helpUml diagram assignment help
Uml diagram assignment helpsmithjonny9876
 
Object-oriented modeling and design.pdf
Object-oriented modeling and  design.pdfObject-oriented modeling and  design.pdf
Object-oriented modeling and design.pdfSHIVAM691605
 
Bt8901 objective oriented systems1
Bt8901 objective oriented systems1Bt8901 objective oriented systems1
Bt8901 objective oriented systems1Techglyphs
 
Unit No 6 Design Patterns.pptx
Unit No 6 Design Patterns.pptxUnit No 6 Design Patterns.pptx
Unit No 6 Design Patterns.pptxDrYogeshDeshmukh1
 

Similar to Itp oo mand-d (20)

ppt_ooad.pdf
ppt_ooad.pdfppt_ooad.pdf
ppt_ooad.pdf
 
OOAD unit1 introduction to object orientation
 OOAD unit1 introduction to object orientation OOAD unit1 introduction to object orientation
OOAD unit1 introduction to object orientation
 
Design patterns
Design patternsDesign patterns
Design patterns
 
dotnet stuff.com tutorials-design-patterns_exploring-net-design-patterns-in-s...
dotnet stuff.com tutorials-design-patterns_exploring-net-design-patterns-in-s...dotnet stuff.com tutorials-design-patterns_exploring-net-design-patterns-in-s...
dotnet stuff.com tutorials-design-patterns_exploring-net-design-patterns-in-s...
 
Object Modelling Technique " ooad "
Object Modelling Technique  " ooad "Object Modelling Technique  " ooad "
Object Modelling Technique " ooad "
 
Oomd unit1
Oomd unit1Oomd unit1
Oomd unit1
 
Ooad unit – 1 introduction
Ooad unit – 1 introductionOoad unit – 1 introduction
Ooad unit – 1 introduction
 
Architecture and design
Architecture and designArchitecture and design
Architecture and design
 
Design patterns
Design patternsDesign patterns
Design patterns
 
Software enginering.group-no-11 (1)
Software enginering.group-no-11 (1)Software enginering.group-no-11 (1)
Software enginering.group-no-11 (1)
 
ap assignmnet presentation.pptx
ap assignmnet presentation.pptxap assignmnet presentation.pptx
ap assignmnet presentation.pptx
 
Ooad
OoadOoad
Ooad
 
Software Design Patterns - An Overview
Software Design Patterns - An OverviewSoftware Design Patterns - An Overview
Software Design Patterns - An Overview
 
Uml diagram assignment help
Uml diagram assignment helpUml diagram assignment help
Uml diagram assignment help
 
Object-oriented modeling and design.pdf
Object-oriented modeling and  design.pdfObject-oriented modeling and  design.pdf
Object-oriented modeling and design.pdf
 
RRC AD
RRC ADRRC AD
RRC AD
 
7494607
74946077494607
7494607
 
Bt8901 objective oriented systems1
Bt8901 objective oriented systems1Bt8901 objective oriented systems1
Bt8901 objective oriented systems1
 
Unit No 6 Design Patterns.pptx
Unit No 6 Design Patterns.pptxUnit No 6 Design Patterns.pptx
Unit No 6 Design Patterns.pptx
 
OCL3_10_05.pptx
OCL3_10_05.pptxOCL3_10_05.pptx
OCL3_10_05.pptx
 

Itp oo mand-d

  • 1. Induction Training Program | 2011 Object Oriented Modeling and Design By Shibu S R
  • 2. Object Oriented Modeling & Design | Object Oriented Design One approach to software design Object-oriented design is the process of planning a system of interacting objects for the purpose of solving a software problem Data Abstraction Polymorphism Data Hiding Extensibility
  • 3. Object Oriented Modeling & Design | Source for OOD Inputs Conceptual Design Use Case Diagram System Sequence Diagram User Interface Relational Data Model Object-oriented concepts Classes / Objects Information Hiding Inheritance Interface Polymorphism Designing Concept Defining objects, creating class diagram from conceptual diagram: Usually map entity to class Attributes Design Pattern Application framework Identify long lasting data – data base Identify remote data Output Sequence Diagram Class Diagram
  • 4. Object Oriented Modeling & Design | Advantage of OOD Easier maintenance. Objects may be understood as stand-alone entities Objects are appropriate reusable components For some systems, there may be an obvious mapping from real world entities to system objects
  • 5. Object Oriented Modeling & Design | An Object Oriented Design Process Define the context and modes of use of the system Design the system architecture Identify the principal system objects Develop design models Specify object interfaces
  • 6. Object Oriented Modeling & Design | Architectural Design Once interactions between the system and its environment have been understood, you use this information for designing the system architecture Layered architecture is appropriate There should be no more than 7 entities in an architectural model
  • 7. Object Oriented Modeling & Design | Object Identification Identifying objects (or object classes) is the most difficult part of object oriented design There is no 'magic formula' for object identification. It relies on the skill, experience and domain knowledge of system designers Object identification is an iterative process. You are unlikely to get it right first time Use a grammatical approach based on a natural language description of the system Use a behavioural approach and identify objects based on what participates in what behaviour Use a scenario-based analysis. The objects, attributes and methods in each scenario are identified Use domain knowledge to identify more objects and operations
  • 8. Object Oriented Modeling & Design | Object Oriented Model What? A model is a simplification of reality A model may provide blueprints of a system Organization of the system Dynamic of the system Why? A successful software organization is one that consistently deploys quality software that meets the needs of its users. An organization that can develop such software in a timely and predictable fashion, with an efficient and effective use of resources, both human and material, is one that has sustainable business Model is built to Communicate the desired structure and behavior of the system Visualize and control the system’s architecture Better understand the system that being built Manage risk Expose opportunities for simplification and reuse We build models so that we can see and better understand the system we are developing
  • 9. Object Oriented Modeling & Design | Object and classes Interpretation in the Real World Interpretation in the Model An object is a thing that can be distinctly An object has an identity, a state, and Object identified. a behavior. A class represents a set of objects with A class characterizes the structure of Class similar characteristics and behavior. This states and behaviors that are shared objects are called the instances of the class. by all instances.
  • 10. Object Oriented Modeling & Design | Package or Namespace An abstract container or environment created to hold a logical grouping of unique identifiers or symbols They organize large code projects. They are delimited with the . operator. Packages that will be widely used should be named as the reverse of the internet domain as the prefix of the package name
  • 11. Object Oriented Modeling & Design | Models Design models show the objects and object classes and relationships between these entities Static models describe the static structure of the system in terms of object classes and relationships Dynamic models describe the dynamic interactions between objects - ATM
  • 12. Object Oriented Modeling & Design | Object Interface Design Object interfaces have to be specified so that the objects and other components can be designed in parallel Designers should avoid designing the interface representation but should hide this in the object itself Objects may have several interfaces which are viewpoints on the methods provided The UML uses class diagrams for interface specification
  • 13. Object Oriented Modeling & Design | Object Oriented Model Library Namespace Namespace Namespace Class Class Class Class Class Class Class Class Class Abstract Interface Class