Presentation is loading. Please wait.

Presentation is loading. Please wait.

Chapter 5: Object Oriented Analysis and Design

Similar presentations


Presentation on theme: "Chapter 5: Object Oriented Analysis and Design"— Presentation transcript:

1 Chapter 5: Object Oriented Analysis and Design
Chapter 1 in Applying UML and Patterns Book.

2 Overview Why do we need Modelling ”Blue prints” ?
Object Oriented Analysis and Design - OOAD. Object Oriented vs. Functional Oriented Analysis and Design. Unified Modelling Language - UML. UML Models. Steps to OOAD.

3 By the end of this chapter, you will..
Understands what Object Oriented Analysis and Design is. Understands what is Unified Modeling Language “UML” and the UML models. Distinguishes between the analysis oriented and design oriented.

4 The Need for Software Blueprints
Knowing an object-oriented language and having access to a library is necessary but not sufficient in order to create object software. In between a nice idea and a working software, there is much more than programming. Analysis and design provide software “blueprints”, illustrated by a modeling language. Blueprints serve as a tool for thought and as a form of communication with others. These blueprints can then be transferred into code using any specific OO language.

5 Object Oriented Analysis and Design OOAD
OOAD essential for creating well-designed, robust & maintainable software system using OO Programming Language (e.g. C++, Java, smalltalk, etc…). It is the latest and most used way of design now. UML (Unified Modeling Language) is a modeling language for OOS.

6 Object Oriented Analysis
An investigation of the problem (rather than how a solution is defined). During OO analysis, there is an emphasis on finding and describing the objects (or concepts) in the problem domain. Example: Concepts in a Library Information System include; Book and Catalog.

7 Object Oriented Design
Emphasizes a conceptual solution that fulfills the requirements specified in the analysis. Need to define software objects and how they collaborate to fulfill the requirements. Designs are implemented in a Programming Language. Example: in the Library Information System, a Book software object may have a title attribute and a display() method. And implemented using any OO programming language; e.g. Java.

8 Logical Software Objects
From Analysis to Implementation Analysis Investigation of the problem Design Logical Solution Construction Code Representation in an OO Programming Language Public Class Book { Private String Title; Public void Display(); } Logical Software Objects Domain Concept Ex: Book (Concept) Book Attribute: Title Method: Display()

9 Object Oriented vs. Function Oriented AD
Library System Record Loans Add Resource Report Fines OOAD SAD Catalog Librarian Book Library

10 Unified Modeling Language
A notational system aimed at modeling systems using object oriented concepts.

11 3-Collaboration Diagrams
Steps to OOAD 1-Define use cases 2-Conceptual Model 3-Collaboration Diagrams 4-Design Class Diagram

12 More Analysis Oriented
Analysis and Design Activities More Analysis Oriented More Design Oriented Design Oriented How Logical Solution Analysis Oriented What Requirements Investigation of Domain


Download ppt "Chapter 5: Object Oriented Analysis and Design"

Similar presentations


Ads by Google