SlideShare uma empresa Scribd logo
1 de 38
OBJECT ORIENTED ANALYSIS AND DESIGN August 04, 2010
Agenda ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Introduction to Object Orientation ,[object Object],[object Object],[object Object]
Basic Principles of Object Orientation Object Orientation Encapsulation Abstraction Hierarchy Modularity
What is Abstraction? Manages Complexity Salesperson Not saying  Which  salesperson – just a salesperson in general!!! Customer Product
What is Encapsulation? ,[object Object],[object Object],Improves Resiliency How does an object encapsulate? What does it encapsulate?
What is Modularity? ,[object Object],Order Processing System Billing Order Entry Order Fulfillment Manages Complexity
What is Hierarchy?  ,[object Object],Asset RealEstate Savings BankAccount Checking Stock Security Bond Elements at the same level of the hierarchy should be at the same level of abstraction Decreasing  abstraction Increasing  abstraction
Strengths of Object Orientation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Basic Concepts of Object Orientation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
What is OOAD? ,[object Object],[object Object],[object Object],[object Object]
Definitions of OOA and OOD ,[object Object],[object Object],[object Object],[object Object],[object Object]
Object Oriented Analysis ,[object Object],[object Object],[object Object]
Analysis Techniques ,[object Object],[object Object],[object Object]
Adhoc Analysis ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Noun List Analysis ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Use Case Analysis ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
The Booch Micro Cycle Identify classes and objects Identify classes and objects semantics Identify classes and objects relationships Specify classes and objects interfaces and implementation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Object Oriented Design ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
OOD ,[object Object],[object Object],[object Object],[object Object]
OOA to OOD
OOA to OOD
Design Issues ,[object Object],[object Object],[object Object],[object Object],[object Object]
Process Flow for OOD
Unified Modeling Language
UML Diagram  –  What is UML? ,[object Object],Visualizing Constructing Documenting Business Modeling Communications Specifying
Different Views Users Designers Analyzers
UML- Eight Diagrams and One Language  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Use case diagram Online C2C shopping ,[object Object],[object Object],[object Object],Actor Actor:   An actor is a person, organization, or external system that plays a role in one or more interactions with your system  Use case Use case:   A use case describes a sequence of actions that provide something of measurable value to an actor and is drawn as a horizontal ellipse  System boundary System boundary:   indicates the scope of your system.  Anything within the box represents functionality that is in scope and anything outside the box is not
Class  Diagram Class diagrams show the classes of the system, their interrelationships (including inheritance, aggregation, and association), and the operations and attributes of the classes.  Name Attributes Operations Relations ,[object Object],[object Object],[object Object]
Relationships between Class Diagrams ,[object Object],[object Object],[object Object]
Activity  Diagram Activity diagrams describe the workflow behaviour of a system  Start Fork Branch Merge Joint End
State Machine Diagram ,[object Object],[object Object],[object Object],[object Object],? What is different between activities and Statemachine diagram
Sequence Diagram ,[object Object]
Collaboration Diagram ,[object Object]
Component Diagram ,[object Object]
Deployment Diagram ,[object Object]
[object Object]

Mais conteúdo relacionado

Mais procurados

Unit 4 designing classes
Unit 4  designing classesUnit 4  designing classes
Unit 4 designing classes
gopal10scs185
 
Object oriented analysis
Object oriented analysisObject oriented analysis
Object oriented analysis
Mahesh Bhalerao
 
Object oriented software engineering concepts
Object oriented software engineering conceptsObject oriented software engineering concepts
Object oriented software engineering concepts
Komal Singh
 
Structured system analysis
Structured system analysisStructured system analysis
Structured system analysis
learnt
 
Object oriented-systems-development-life-cycle ppt
Object oriented-systems-development-life-cycle pptObject oriented-systems-development-life-cycle ppt
Object oriented-systems-development-life-cycle ppt
Kunal Kishor Nirala
 

Mais procurados (20)

Uml class-diagram
Uml class-diagramUml class-diagram
Uml class-diagram
 
Unit 1( modelling concepts & class modeling)
Unit  1( modelling concepts & class modeling)Unit  1( modelling concepts & class modeling)
Unit 1( modelling concepts & class modeling)
 
Analysis modeling & scenario based modeling
Analysis modeling &  scenario based modeling Analysis modeling &  scenario based modeling
Analysis modeling & scenario based modeling
 
Design notation
Design notationDesign notation
Design notation
 
Behavioural modelling
Behavioural modellingBehavioural modelling
Behavioural modelling
 
Unit 4 designing classes
Unit 4  designing classesUnit 4  designing classes
Unit 4 designing classes
 
Software design
Software designSoftware design
Software design
 
Object Oriented Analysis Design using UML
Object Oriented Analysis Design using UMLObject Oriented Analysis Design using UML
Object Oriented Analysis Design using UML
 
Quality and productivity factors
Quality and productivity factorsQuality and productivity factors
Quality and productivity factors
 
Object oriented analysis
Object oriented analysisObject oriented analysis
Object oriented analysis
 
Unit 4- Software Engineering System Model Notes
Unit 4- Software Engineering System Model Notes Unit 4- Software Engineering System Model Notes
Unit 4- Software Engineering System Model Notes
 
CS8592-OOAD Lecture Notes Unit-3
CS8592-OOAD Lecture Notes Unit-3CS8592-OOAD Lecture Notes Unit-3
CS8592-OOAD Lecture Notes Unit-3
 
Overview of UML Diagrams
Overview of UML DiagramsOverview of UML Diagrams
Overview of UML Diagrams
 
Ooad unit – 1 introduction
Ooad unit – 1 introductionOoad unit – 1 introduction
Ooad unit – 1 introduction
 
Chapter 1 2 - some size factors
Chapter 1   2 - some size factorsChapter 1   2 - some size factors
Chapter 1 2 - some size factors
 
Object oriented modeling and design
Object oriented modeling and designObject oriented modeling and design
Object oriented modeling and design
 
Object oriented software engineering concepts
Object oriented software engineering conceptsObject oriented software engineering concepts
Object oriented software engineering concepts
 
Data Designs (Software Engg.)
Data Designs (Software Engg.)Data Designs (Software Engg.)
Data Designs (Software Engg.)
 
Structured system analysis
Structured system analysisStructured system analysis
Structured system analysis
 
Object oriented-systems-development-life-cycle ppt
Object oriented-systems-development-life-cycle pptObject oriented-systems-development-life-cycle ppt
Object oriented-systems-development-life-cycle ppt
 

Destaque (8)

OOAD chapter 1
OOAD chapter 1 OOAD chapter 1
OOAD chapter 1
 
Information Systems Analysis and Design Overview of OOAD, UML, and RUP
 Information Systems Analysis and Design Overview of OOAD, UML, and RUP Information Systems Analysis and Design Overview of OOAD, UML, and RUP
Information Systems Analysis and Design Overview of OOAD, UML, and RUP
 
ooAD
ooADooAD
ooAD
 
Lecture 4
Lecture 4Lecture 4
Lecture 4
 
OOA&D Lecture 2 uml notations
OOA&D Lecture 2 uml notations OOA&D Lecture 2 uml notations
OOA&D Lecture 2 uml notations
 
OOA&D Lecture1
OOA&D Lecture1OOA&D Lecture1
OOA&D Lecture1
 
Object oriented testing
Object oriented testingObject oriented testing
Object oriented testing
 
System design
System designSystem design
System design
 

Semelhante a Ooad

Object-oriented modeling and design.pdf
Object-oriented modeling and  design.pdfObject-oriented modeling and  design.pdf
Object-oriented modeling and design.pdf
SHIVAM691605
 
Ooad Overview
Ooad OverviewOoad Overview
Ooad Overview
Dang Tuan
 
ASP.NET System design 2
ASP.NET System design 2ASP.NET System design 2
ASP.NET System design 2
Sisir Ghosh
 
fdocuments.in_unit-2-ooad.ppt
fdocuments.in_unit-2-ooad.pptfdocuments.in_unit-2-ooad.ppt
fdocuments.in_unit-2-ooad.ppt
RAJESH S
 

Semelhante a Ooad (20)

Object-oriented modeling and design.pdf
Object-oriented modeling and  design.pdfObject-oriented modeling and  design.pdf
Object-oriented modeling and design.pdf
 
Software Patterns
Software PatternsSoftware Patterns
Software Patterns
 
Architecture and design
Architecture and designArchitecture and design
Architecture and design
 
Object oriented analysis and design unit- iv
Object oriented analysis and design unit- ivObject oriented analysis and design unit- iv
Object oriented analysis and design unit- iv
 
Uml
UmlUml
Uml
 
Object Oriented Approach for Software Development
Object Oriented Approach for Software DevelopmentObject Oriented Approach for Software Development
Object Oriented Approach for Software Development
 
Oomd unit1
Oomd unit1Oomd unit1
Oomd unit1
 
Ooad Overview
Ooad OverviewOoad Overview
Ooad Overview
 
Ooad overview
Ooad overviewOoad overview
Ooad overview
 
ASP.NET System design 2
ASP.NET System design 2ASP.NET System design 2
ASP.NET System design 2
 
3 analysis and design overview
3 analysis and design overview3 analysis and design overview
3 analysis and design overview
 
Uml diagram assignment help
Uml diagram assignment helpUml diagram assignment help
Uml diagram assignment help
 
UNIT-I(Unified_Process_and_Use Case_Diagrams)_OOAD.ppt
UNIT-I(Unified_Process_and_Use Case_Diagrams)_OOAD.pptUNIT-I(Unified_Process_and_Use Case_Diagrams)_OOAD.ppt
UNIT-I(Unified_Process_and_Use Case_Diagrams)_OOAD.ppt
 
UNIT-I(Unified_Process_and_Use Case_Diagrams)_OOAD.ppt
UNIT-I(Unified_Process_and_Use Case_Diagrams)_OOAD.pptUNIT-I(Unified_Process_and_Use Case_Diagrams)_OOAD.ppt
UNIT-I(Unified_Process_and_Use Case_Diagrams)_OOAD.ppt
 
UNIT-I(Unified_Process_and_Use Case_Diagrams)_OOAD.ppt
UNIT-I(Unified_Process_and_Use Case_Diagrams)_OOAD.pptUNIT-I(Unified_Process_and_Use Case_Diagrams)_OOAD.ppt
UNIT-I(Unified_Process_and_Use Case_Diagrams)_OOAD.ppt
 
Chapter1
Chapter1Chapter1
Chapter1
 
Object Oriented Database
Object Oriented DatabaseObject Oriented Database
Object Oriented Database
 
fdocuments.in_unit-2-ooad.ppt
fdocuments.in_unit-2-ooad.pptfdocuments.in_unit-2-ooad.ppt
fdocuments.in_unit-2-ooad.ppt
 
uml2-1214558329929112-8.ppt
uml2-1214558329929112-8.pptuml2-1214558329929112-8.ppt
uml2-1214558329929112-8.ppt
 
Cs8592 ooad unit 1
Cs8592 ooad unit 1Cs8592 ooad unit 1
Cs8592 ooad unit 1
 

Ooad

Notas do Editor

  1. Before moving on, ask the students to name the four basic principles of OO (as a review).
  2. Discuss what makes a good abstraction with the students: Concise, Represents a single coherent concept, etc.
  3. Encapsulation is putting the “databits” and operations that manipulate them in the same place. Encapsulation DISALLOWS direct manipulation of things that have been encapsulated without utilising the supplied interface. Another example - the accelerator on a car. You put your foot down and car goes faster - this works on most cars, and you don’t worry about the cables, electronics, engine, etc.
  4. Modularity supports separation of concerns. Another example of modularity is a car, which is made up of a body, chassis, engine, wheels, etc.
  5. Hierarchy is not an organizational chart. Hierarchy is not a functional decomposition. Hierarchy is a taxonomic organization. The use of hierarchy makes it easy to recognize similarities and differences. For example, in botany, plants are organized into families, chemistry uses a periodic table to organize the elements. Another example -- telephone number, then a 0800 (free call) number, premium rate number, etc
  6. Review the 4 basic principles of OO (abstraction, encapsulation, modularity, and hierarchy) and why they are good. Ask the students to name the OO concepts (e.g., class, package, interface, etc.) that support those principles. Emphasize that OO facilitates the following best practices: Develop Iteratively Model Visually Use Component Architecture