Jerry KotubaSYST39409-Object Oriented Methodologies1 Object Oriented Methodologies Week04.
Slide 1 Objectives Understand the basic characteristics of object-oriented systems. Be familiar...
-
Upload
nicholas-gibbs -
Category
Documents
-
view
213 -
download
0
description
Transcript of Slide 1 Objectives Understand the basic characteristics of object-oriented systems. Be familiar...
![Page 1: Slide 1 Objectives Understand the basic characteristics of object-oriented systems. Be familiar with…](https://reader035.fdocuments.us/reader035/viewer/2022070616/5a4d1bf27f8b9ab0599e6a06/html5/thumbnails/1.jpg)
Slide 1
ObjectivesUnderstand the basic characteristics of object-oriented systems.Be familiar with the Unified Modeling Language (UML),V.2.0.
![Page 2: Slide 1 Objectives Understand the basic characteristics of object-oriented systems. Be familiar with…](https://reader035.fdocuments.us/reader035/viewer/2022070616/5a4d1bf27f8b9ab0599e6a06/html5/thumbnails/2.jpg)
Slide 2
Non-Object-Oriented…Process models
Based on behaviour and actionsData Models
Based on static (fixed) representations of data
![Page 3: Slide 1 Objectives Understand the basic characteristics of object-oriented systems. Be familiar with…](https://reader035.fdocuments.us/reader035/viewer/2022070616/5a4d1bf27f8b9ab0599e6a06/html5/thumbnails/3.jpg)
Slide 3
A “Simple” Process for Making Lunch
![Page 4: Slide 1 Objectives Understand the basic characteristics of object-oriented systems. Be familiar with…](https://reader035.fdocuments.us/reader035/viewer/2022070616/5a4d1bf27f8b9ab0599e6a06/html5/thumbnails/4.jpg)
Slide 4
Process Modelling:
Data Flow Diagrams
![Page 5: Slide 1 Objectives Understand the basic characteristics of object-oriented systems. Be familiar with…](https://reader035.fdocuments.us/reader035/viewer/2022070616/5a4d1bf27f8b9ab0599e6a06/html5/thumbnails/5.jpg)
Slide 5
Reading a DFD
![Page 6: Slide 1 Objectives Understand the basic characteristics of object-oriented systems. Be familiar with…](https://reader035.fdocuments.us/reader035/viewer/2022070616/5a4d1bf27f8b9ab0599e6a06/html5/thumbnails/6.jpg)
Slide 6
Data Modelling:
Entity-Relationship Diagrams (ERDs)
![Page 7: Slide 1 Objectives Understand the basic characteristics of object-oriented systems. Be familiar with…](https://reader035.fdocuments.us/reader035/viewer/2022070616/5a4d1bf27f8b9ab0599e6a06/html5/thumbnails/7.jpg)
Slide 7
What Is an ERD?A picture showing the information created, stored, and used by a business system. Entities generally represent people, places, and things of interest to the organization.Lines between entities show relationships between entities.
![Page 8: Slide 1 Objectives Understand the basic characteristics of object-oriented systems. Be familiar with…](https://reader035.fdocuments.us/reader035/viewer/2022070616/5a4d1bf27f8b9ab0599e6a06/html5/thumbnails/8.jpg)
Copyright 2005 John Wiley & Sons, Inc. All rights reserved.PowerPoint Presentation for Dennis, Wixom & Tegardem Systems Analysis and Design
Copyright 2001 © John Wiley & Sons, Inc. All rights reserved.
An ERD Example
![Page 9: Slide 1 Objectives Understand the basic characteristics of object-oriented systems. Be familiar with…](https://reader035.fdocuments.us/reader035/viewer/2022070616/5a4d1bf27f8b9ab0599e6a06/html5/thumbnails/9.jpg)
Slide 9
Entities and Instances
![Page 10: Slide 1 Objectives Understand the basic characteristics of object-oriented systems. Be familiar with…](https://reader035.fdocuments.us/reader035/viewer/2022070616/5a4d1bf27f8b9ab0599e6a06/html5/thumbnails/10.jpg)
Slide 10
Object-Oriented ApproachesCombine processes and dataAre more ‘natural’
![Page 11: Slide 1 Objectives Understand the basic characteristics of object-oriented systems. Be familiar with…](https://reader035.fdocuments.us/reader035/viewer/2022070616/5a4d1bf27f8b9ab0599e6a06/html5/thumbnails/11.jpg)
Slide 11
Basic Characteristics of Object Oriented Systems
Classes and ObjectsMethods and MessagesEncapsulation and Information HidingInheritancePolymorphism
![Page 12: Slide 1 Objectives Understand the basic characteristics of object-oriented systems. Be familiar with…](https://reader035.fdocuments.us/reader035/viewer/2022070616/5a4d1bf27f8b9ab0599e6a06/html5/thumbnails/12.jpg)
Slide 12
Helpful Hint….’Compile’C ClassesO Objects M Methods and MessagesP Polymorphism I Inheritance(Last, but not least)E Encapsulation
![Page 13: Slide 1 Objectives Understand the basic characteristics of object-oriented systems. Be familiar with…](https://reader035.fdocuments.us/reader035/viewer/2022070616/5a4d1bf27f8b9ab0599e6a06/html5/thumbnails/13.jpg)
Slide 13
Classes and ObjectsClass – Template to define specific instances or objectsObject – Instantiation of a classAttributes – Describes the objectBehaviours – specify what object can do
![Page 14: Slide 1 Objectives Understand the basic characteristics of object-oriented systems. Be familiar with…](https://reader035.fdocuments.us/reader035/viewer/2022070616/5a4d1bf27f8b9ab0599e6a06/html5/thumbnails/14.jpg)
Slide 14
Classes and Objects
![Page 15: Slide 1 Objectives Understand the basic characteristics of object-oriented systems. Be familiar with…](https://reader035.fdocuments.us/reader035/viewer/2022070616/5a4d1bf27f8b9ab0599e6a06/html5/thumbnails/15.jpg)
Slide 15
Methods and MessagesMethods implement an object’s behaviour
Analogous to a function or procedure
Messages are sent to trigger methods
Procedure call from one object to the next
![Page 16: Slide 1 Objectives Understand the basic characteristics of object-oriented systems. Be familiar with…](https://reader035.fdocuments.us/reader035/viewer/2022070616/5a4d1bf27f8b9ab0599e6a06/html5/thumbnails/16.jpg)
Slide 16
Messages and Methods
![Page 17: Slide 1 Objectives Understand the basic characteristics of object-oriented systems. Be familiar with…](https://reader035.fdocuments.us/reader035/viewer/2022070616/5a4d1bf27f8b9ab0599e6a06/html5/thumbnails/17.jpg)
Slide 17
Encapsulation and Information Hiding
Encapsulation combination of data and process into an entity
Information HidingOnly the information required to use a software module is published to the user
Reusability is the Key Pointan object is used by calling methods
![Page 18: Slide 1 Objectives Understand the basic characteristics of object-oriented systems. Be familiar with…](https://reader035.fdocuments.us/reader035/viewer/2022070616/5a4d1bf27f8b9ab0599e6a06/html5/thumbnails/18.jpg)
Slide 18
InheritanceSuperclasses or general classes are at the top of a hierarchy of classesSubclasses or specific classes are at the bottomSubclasses inherit attributes and methods from classes higher in the hierarchy
![Page 19: Slide 1 Objectives Understand the basic characteristics of object-oriented systems. Be familiar with…](https://reader035.fdocuments.us/reader035/viewer/2022070616/5a4d1bf27f8b9ab0599e6a06/html5/thumbnails/19.jpg)
Slide 19
Class Hierarchy
![Page 20: Slide 1 Objectives Understand the basic characteristics of object-oriented systems. Be familiar with…](https://reader035.fdocuments.us/reader035/viewer/2022070616/5a4d1bf27f8b9ab0599e6a06/html5/thumbnails/20.jpg)
Slide 20
Inheritance
![Page 21: Slide 1 Objectives Understand the basic characteristics of object-oriented systems. Be familiar with…](https://reader035.fdocuments.us/reader035/viewer/2022070616/5a4d1bf27f8b9ab0599e6a06/html5/thumbnails/21.jpg)
Slide 21
PolymorphismA message can be interpreted differently by different classes of objects
e.g. A ‘Create_Record’ message is essentially the same thing, but causes ‘Create_Patient_Record’ by a ‘Patient_Database’ object, or ‘Create_Doctor_Record’ by a ‘Healthcare_Staff_Database’ object
![Page 22: Slide 1 Objectives Understand the basic characteristics of object-oriented systems. Be familiar with…](https://reader035.fdocuments.us/reader035/viewer/2022070616/5a4d1bf27f8b9ab0599e6a06/html5/thumbnails/22.jpg)
Slide 22
Polymorphism & Encapsulation
![Page 23: Slide 1 Objectives Understand the basic characteristics of object-oriented systems. Be familiar with…](https://reader035.fdocuments.us/reader035/viewer/2022070616/5a4d1bf27f8b9ab0599e6a06/html5/thumbnails/23.jpg)
Slide 23
Benefits of the Object Approach
![Page 24: Slide 1 Objectives Understand the basic characteristics of object-oriented systems. Be familiar with…](https://reader035.fdocuments.us/reader035/viewer/2022070616/5a4d1bf27f8b9ab0599e6a06/html5/thumbnails/24.jpg)
Slide 24
The Unified Modelling Language, Version 2.0
Functional DiagramsStructure DiagramsBehaviour Diagrams
Developers Grady Booch Ivar Jacobson James Rumbaugh
![Page 25: Slide 1 Objectives Understand the basic characteristics of object-oriented systems. Be familiar with…](https://reader035.fdocuments.us/reader035/viewer/2022070616/5a4d1bf27f8b9ab0599e6a06/html5/thumbnails/25.jpg)
Slide 25
Functional DiagramsActivity Diagrams
Illustrate business workflowsUse-Case Diagrams
Capture business requirementsIllustrates interaction between system and environment
![Page 26: Slide 1 Objectives Understand the basic characteristics of object-oriented systems. Be familiar with…](https://reader035.fdocuments.us/reader035/viewer/2022070616/5a4d1bf27f8b9ab0599e6a06/html5/thumbnails/26.jpg)
Slide 26
Structure DiagramsClass diagrams
relationship between classesObject diagrams
Relationships between objects
![Page 27: Slide 1 Objectives Understand the basic characteristics of object-oriented systems. Be familiar with…](https://reader035.fdocuments.us/reader035/viewer/2022070616/5a4d1bf27f8b9ab0599e6a06/html5/thumbnails/27.jpg)
Slide 27
Behaviour DiagramsInteraction Diagrams ....
Sequence diagrams Show Time-based ordering and behaviour
of objects and their activitiesState Machines ...
Behavioural State Machines (Statechart diagrams)
Examines behaviour of one class/object
![Page 28: Slide 1 Objectives Understand the basic characteristics of object-oriented systems. Be familiar with…](https://reader035.fdocuments.us/reader035/viewer/2022070616/5a4d1bf27f8b9ab0599e6a06/html5/thumbnails/28.jpg)
Slide 28
Object Oriented Systems Analysis and Design• Use-case driven• Iterative and Incremental• Often associated with PHASED
Development (a RAD methodology)
![Page 29: Slide 1 Objectives Understand the basic characteristics of object-oriented systems. Be familiar with…](https://reader035.fdocuments.us/reader035/viewer/2022070616/5a4d1bf27f8b9ab0599e6a06/html5/thumbnails/29.jpg)
Slide 29
Basic Method for Development of Object Oriented Systems
Identifying business valueAnalyze feasibilityDevelop workplanStaff the projectControl and direct projectRequirements determinationFunctional modellingStructural modellingBehavioural modellingMoving on to design
![Page 30: Slide 1 Objectives Understand the basic characteristics of object-oriented systems. Be familiar with…](https://reader035.fdocuments.us/reader035/viewer/2022070616/5a4d1bf27f8b9ab0599e6a06/html5/thumbnails/30.jpg)
Slide 30
SummaryProcess oriented (Data flow diagrams) and Data oriented (Entity relationship diagrams)Basic characteristics of Object Oriented Systems Analysis and DesignIntroduction to Unified Modelling Language and the Unified Process