Based on the book by David William Brown

Preview:

DESCRIPTION

An Introduction to Object-Oriented Analysis Objects and UML in plain English. Chapter 6: The Object-Oriented Development Life Cycle. Based on the book by David William Brown. John Wiley & Sons, ISBN 0471371378. Chapter 6: The Object-Oriented Development Life Cycle (OODLC). - PowerPoint PPT Presentation

Citation preview

1Copyright 8 2002 Flying Kiwi Productions Inc. flykiwi@home.com

An Introduction toAn Introduction to

Object-Oriented Object-Oriented AnalysisAnalysis

Objects and UML in plain English.Objects and UML in plain English.

Chapter 6: The Object-Oriented Chapter 6: The Object-Oriented Development Life CycleDevelopment Life Cycle

Based on the book by

David William BrownJohn Wiley & Sons, ISBN 0471371378

2Copyright 8 2002 Flying Kiwi Productions Inc. flykiwi@home.com

Chapter 6: The Object-Oriented Chapter 6: The Object-Oriented Development Life CycleDevelopment Life Cycle

(OODLC)(OODLC)6.1. The Life Cycle

6.2. The Object-Oriented Analysis Phase

6.3. The Object-Oriented Design Phase

6.4. The Construction Phase

6.5. The Object-Oriented Testing Phase

6.6. The Maintenance Phase

3Copyright 8 2002 Flying Kiwi Productions Inc. flykiwi@home.com

Chapter 6: The Object-Oriented Development Life Cycle (OODLC)

6.1. The Life Cycle

The OODLC is an update of the older SDLC In this chapter we will overview the OODLC Beginning in Chapter 7 we will look at

detailed step-by-step methods for doing the Analysis Phase.

The aim in this chapter is to see how all the pieces fit together.

We examine the Analysis Phase in detail since it is the focus of this course.

4Copyright 8 2002 Flying Kiwi Productions Inc. flykiwi@home.com

Chapter 6: The Object-Oriented Development Life Cycle (OODLC)

6.1. The Life Cycle

Phase

Analysis

Design

Construction

Testing

Maintenance

Activity

OOA

OOD

OOP

O-O Testing

All of the above

ModelsProduced

RequirementsModel

Design versions ofthe OO models

Actual system

Working system

All of the above

Components

Project scope

Feasibility study

Context diagram

Class diagram:

Entity classes

Interface classes

Control classes

Behavior diagrams:

Statechart diagrams

Collaborations and CRC cards

Sequence diagrams

Activity diagrams

5Copyright 8 2002 Flying Kiwi Productions Inc. flykiwi@home.com

Chapter 6: The Object-Oriented Development Life Cycle (OODLC)

6.1. The Life Cycle

6.2. The Object-Oriented Analysis Phase6.2. The Object-Oriented Analysis Phase

6.3. The Object-Oriented Design Phase

6.4. The Construction Phase

6.5. The Object-Oriented Testing Phase

6.6. The Maintenance Phase

6Copyright 8 2002 Flying Kiwi Productions Inc. flykiwi@home.com

Chapter 6: The Object-Oriented Development Life Cycle (OODLC)

6.2. The Object-Oriented Analysis Phase

In Analysis we model the users’ requirements

For what the eventual system must DODO..Output of this process is a conceptual conceptual

modelmodelThe conceptual model consists of 3

deliverables:deliverables: Requirements Model Object Model Statechart model

7Copyright 8 2002 Flying Kiwi Productions Inc. flykiwi@home.com

Chapter 6: The Object-Oriented Development Life Cycle (OODLC)

6.2. The Object-Oriented Analysis Phase Requirements Model

Now let’s look at these in detail. . .Now let’s look at these in detail. . .

The Requirements model has 5 components:

Project ScopeContext Diagram Use Case Model Interface Descriptions Feasibility study

8Copyright 8 2002 Flying Kiwi Productions Inc. flykiwi@home.com

Chapter 6: The Object-Oriented Development Life Cycle (OODLC)

6.2. The Object-Oriented Analysis Phase Requirements Model

The Project ScopeProject Scope is a statement of what what our project is to produce.our project is to produce. States in general terms what the system will do for

the users. What functions will be part of it. Which user it will service.

May be a paragraph or two, Or many pages, depending on the size of the project.

There is much variation in size and format among companies and methodologies.

9Copyright 8 2002 Flying Kiwi Productions Inc. flykiwi@home.com

Chapter 6: The Object-Oriented Development Life Cycle (OODLC)

6.2. The Object-Oriented Analysis Phase Requirements Model

It is also important that the Scope say what the system will will

notnot do,do,Otherwise the users will try to

“push the scope”“push the scope”Which causes “Scope Creep.”“Scope Creep.”

10

Copyright 8 2002 Flying Kiwi Productions Inc. flykiwi@home.com

Chapter 6: The Object-Oriented Development Life Cycle (OODLC)

6.2. The Object-Oriented Analysis Phase Requirements Model

The Context Diagram:Context Diagram:Shows our system as a large box,Surrounded by smaller boxes,Representing External Entities:External Entities:

ie., People, organizations, systems and other things outside our system outside our system that either provide data to it or draw data from it.

11

Copyright 8 2002 Flying Kiwi Productions Inc. flykiwi@home.com

Chapter 6: The Object-Oriented Development Life Cycle (OODLC)

6.2. The Object-Oriented Analysis Phase Requirements Model

Context DiagramContext Diagram

Radio CHQT Advertisers Database

SystemAdvertisers

RegulatoryAuthorities

RevenueCanada

Shareholders

Listeners BetterBusinessBureau

Requests

Billing

Statistics &Reports

ProgramInfo

CreditRatings

QuarterlyReports

FinancialReports

12

Copyright 8 2002 Flying Kiwi Productions Inc. flykiwi@home.com

Chapter 6: The Object-Oriented Development Life Cycle (OODLC)

6.2. The Object-Oriented Analysis Phase Use Case Model

Proposed by Jacobson et al. 92.

A Use CaseUse Case is a script,A step-by-step description of how a

user might make use of the systemTo do a task. It is a “case of the usage of the system.”“case of the usage of the system.”

See Ch 7 for details.

13

Copyright 8 2002 Flying Kiwi Productions Inc. flykiwi@home.com

Chapter 6: The Object-Oriented Development Life Cycle (OODLC)

6.2. The Object-Oriented Analysis Phase

Interface DescriptionsInterface Descriptions

GUI: interface to users Interface to other I.S. Systems:Real-World systems that we

control communications interfaces: System (hardware/software network

protocols) interfaces Person-machine interfaces

14

Copyright 8 2002 Flying Kiwi Productions Inc. flykiwi@home.com

Chapter 6: The Object-Oriented Development Life Cycle (OODLC)

6.2. The Object-Oriented Analysis Phase

Feasibility AnalysisFeasibility Analysis

Can we do this project?ShouldShould we?Can we make it work? (e.g. need

technical resources) Is the cost worth it? (is it worth

spending the money)Do we have enough time to finish

it?

15

Copyright 8 2002 Flying Kiwi Productions Inc. flykiwi@home.com

Chapter 6: The Object-Oriented Development Life Cycle (OODLC)

6.2. The Object-Oriented Analysis Phase

Feasibility AnalysisFeasibility Analysis

In other words: Operational feasibility Technical feasibility Schedule feasibility Economic feasibility

16

Copyright 8 2002 Flying Kiwi Productions Inc. flykiwi@home.com

Chapter 6: The Object-Oriented Development Life Cycle (OODLC)

6.2. The Object-Oriented Analysis Phase

Feasibility AnalysisFeasibility Analysis

Operational feasibility Will the proposed system do the job being

asked for? response time, throughput, …

Will it work in this company? political acceptability, management of

changes It is worth the effort to find a solution?

Will it has positive impact on the working lives of the users?

Will it increase company revenue and/or cut costs?

17

Copyright 8 2002 Flying Kiwi Productions Inc. flykiwi@home.com

Chapter 6: The Object-Oriented Development Life Cycle (OODLC)

6.2. The Object-Oriented Analysis Phase

Feasibility AnalysisFeasibility Analysis

Technical feasibility Hardware and software

Capacity (PDAs for e-map)Availability (Can we get what we don’t

have?) Technical knowledge

Training Consultants

18

Copyright 8 2002 Flying Kiwi Productions Inc. flykiwi@home.com

Chapter 6: The Object-Oriented Development Life Cycle (OODLC)

6.2. The Object-Oriented Analysis Phase

Feasibility AnalysisFeasibility Analysis

Schedule feasibility Can it be done in the time allowed?

Which deadlines are mandatory and which are desired?

Late panalties

19

Copyright 8 2002 Flying Kiwi Productions Inc. flykiwi@home.com

Chapter 6: The Object-Oriented Development Life Cycle (OODLC)

6.2. The Object-Oriented Analysis Phase

Feasibility AnalysisFeasibility Analysis

Economic feasibility Cost-benefit analysis Costs:

Development cost (wages, computers hardware/software resources, training, office support costs, …)

Benefits:Tangible benefits (save time for users,

improve response times, reduces expenses,..)

Intangible benefits (customer goodwill, better data, better decision-making, …)

20

Copyright 8 2002 Flying Kiwi Productions Inc. flykiwi@home.com

Chapter 6: The Object-Oriented Development Life Cycle (OODLC)

6.1. The Life Cycle

6.2. The Object-Oriented Analysis Phase

6.3. The Object-Oriented Design Phase 6.3. The Object-Oriented Design Phase

6.4. The Construction Phase

6.5. The Object-Oriented Testing Phase

6.6. The Maintenance Phase

21

Copyright 8 2002 Flying Kiwi Productions Inc. flykiwi@home.com

Chapter 6: The Object-Oriented Development Life Cycle (OODLC)

Modify Analysis model to reflect design decisions, Mostly by adding information to the existing model.

Conceptual model Logical Model Physical Model Add some new classes that do not directly model

things in the real world. Result is a planplan (a physical model) of howhow the

system will do what the Requirements Analysis asks for

6.3. The Object-Oriented Design Phase6.3. The Object-Oriented Design Phase

22

Copyright 8 2002 Flying Kiwi Productions Inc. flykiwi@home.com

AnalysisAnalysis is is whatwhat the system the system

must do,must do,

DesignDesign is is howhow the system the system

will do it.will do it.

Chapter 6: The Object-Oriented Development Life Cycle (OODLC)

23

Copyright 8 2002 Flying Kiwi Productions Inc. flykiwi@home.com

Chapter 6: The Object-Oriented Development Life Cycle (OODLC)

6.1. The Life Cycle

6.2. The Object-Oriented Analysis Phase

6.3. The Object-Oriented Design Phase

6.4. The Construction Phase 6.4. The Construction Phase 6.5. The Object-Oriented Testing Phase

6.6. The Maintenance Phase

24

Copyright 8 2002 Flying Kiwi Productions Inc. flykiwi@home.com

Chapter 6: The Object-Oriented Development Life Cycle (OODLC)

Coding and testing Should be done with an O-O language or database.

Deployment and user training.

6.4. The Construction Phase

25

Copyright 8 2002 Flying Kiwi Productions Inc. flykiwi@home.com

Chapter 6: The Object-Oriented Development Life Cycle (OODLC)

6.1. The Life Cycle

6.2. The Object-Oriented Analysis Phase

6.3. The Object-Oriented Design Phase

6.4. The Construction Phase

6.5. The Object-Oriented Testing Phase6.5. The Object-Oriented Testing Phase

6.6. The Maintenance Phase

26

Copyright 8 2002 Flying Kiwi Productions Inc. flykiwi@home.com

Chapter 6: The Object-Oriented Development Life Cycle (OODLC)

Complete the unit testing of individual classes and programs

Then system testing. Testing must be thorough and complete, And automatedautomated. For Testing and Quality Assurance see chap

15.

6.5 The Object-Oriented Testing Phase

27

Copyright 8 2002 Flying Kiwi Productions Inc. flykiwi@home.com

Chapter 6: The Object-Oriented Development Life Cycle (OODLC)

6.1. The Life Cycle

6.2. The Object-Oriented Analysis Phase

6.3. The Object-Oriented Design Phase

6.4. The Construction Phase

6.5. The Object-Oriented Testing Phase

6.6. The Maintenance Phase 6.6. The Maintenance Phase

28

Copyright 8 2002 Flying Kiwi Productions Inc. flykiwi@home.com

Chapter 6: The Object-Oriented Development Life Cycle (OODLC)

Maintenance starts when a system is built and signed off.

Maintenance activities: Bug fixes Enhancements Viruses (bugs caused by viruses) End-user computing (report generator,

spreadsheets …) Backups and restores

3 levels + offsite. Disaster preparedness and recovery

The World Trade Center bombing.Murphy’s Law

6.6. The Maintenance Phase

29

Copyright 8 2002 Flying Kiwi Productions Inc. flykiwi@home.com

Chapter 6: The Object-Oriented Development Life Cycle (OODLC)

Requirement model Project scope Feasibility analysis Context diagram User case model Interface descriptions

Object model: Class diagrams Class definitions Attribute lists and definitions Notes and business rules

Statechart diagram

Deliverables

30

Copyright 8 2002 Flying Kiwi Productions Inc. flykiwi@home.com

End of Chapter 6.

Recommended