38
Slide 1 Systems Analysis and Design With UML Systems Analysis and Design With UML 2.0 2.0 An Object An Object- Oriented Approach, Second Edition Oriented Approach, Second Edition Chapter 1: Introduction to Systems Analysis and Design

Systems Analysis and Design With UML 2sparc.nfu.edu.tw/~lyc/oo/OO-ch01.pdf · Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter

  • Upload
    others

  • View
    6

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Systems Analysis and Design With UML 2sparc.nfu.edu.tw/~lyc/oo/OO-ch01.pdf · Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter

Slide 1

Systems Analysis and Design With UMLSystems Analysis and Design With UML2.02.0

An ObjectAn Object--Oriented Approach, Second EditionOriented Approach, Second Edition

Chapter 1: Introduction to Systems Analysisand Design

Page 2: Systems Analysis and Design With UML 2sparc.nfu.edu.tw/~lyc/oo/OO-ch01.pdf · Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter

Slide 2

Key Ideas

Many failed systems wereabandoned because analyststried to build wonderful systemswithout understanding theorganization.The primarily goal is to createvalue for the organization.

Page 3: Systems Analysis and Design With UML 2sparc.nfu.edu.tw/~lyc/oo/OO-ch01.pdf · Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter

Slide 3

Key Ideas

The systems analyst is a key personanalyzing the business, identifyingopportunities for improvement, anddesigning information systems toimplement these ideas.It is important to understand anddevelop through practice the skillsneeded to successfully design andimplement new information systems.

Page 4: Systems Analysis and Design With UML 2sparc.nfu.edu.tw/~lyc/oo/OO-ch01.pdf · Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter

Slide 4

THE SYSTEMSDEVELOPMENT LIFECYCLE

Page 5: Systems Analysis and Design With UML 2sparc.nfu.edu.tw/~lyc/oo/OO-ch01.pdf · Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter

Slide 5

Major Attributes of theLifecycle

The projectMoves systematically through phaseswhere each phase has a standard setof outputsProduces project deliverablesUses deliverables in implementationResults in actual information systemUses gradual refinement

Page 6: Systems Analysis and Design With UML 2sparc.nfu.edu.tw/~lyc/oo/OO-ch01.pdf · Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter

Slide 6

Project Phases

PlanningWhy build the system?

AnalysisWho, what, when, where will the system be?

DesignHow will the system work?

ImplementationSystem delivery

Page 7: Systems Analysis and Design With UML 2sparc.nfu.edu.tw/~lyc/oo/OO-ch01.pdf · Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter

Slide 7

Project Phases

Phases

Steps

Techniques

Page 8: Systems Analysis and Design With UML 2sparc.nfu.edu.tw/~lyc/oo/OO-ch01.pdf · Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter

Slide 8

Planning

Planning StepsProject initiation : [System Request ](IS + project sponsor )(approval committee)

Business needBusiness requirementsFeasibility Analysis

Project Management : [Project Plan](approval committee)

Page 9: Systems Analysis and Design With UML 2sparc.nfu.edu.tw/~lyc/oo/OO-ch01.pdf · Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter

Slide 9

Analysis

Analysis StepsAnalysis Strategy :Analysis of current system (as-is system)Analysis of a new system (to-be system)

Requirement Gathering : Developing a concept for a new system Developing a set of business analysis models

Delivering System Proposal :[analysis and initial design]

Page 10: Systems Analysis and Design With UML 2sparc.nfu.edu.tw/~lyc/oo/OO-ch01.pdf · Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter

Slide 10

DesignDesign Steps

Design Strategy : Software Package Self-develop Outsourcing

Basic Architecture Design : Software, hardware, and infrastructure Interface design

Database and file spec. :Program deisgn

[System Specification]

Page 11: Systems Analysis and Design With UML 2sparc.nfu.edu.tw/~lyc/oo/OO-ch01.pdf · Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter

Slide 11

Construction :Installation :[Support Plan] :

Implementation

Page 12: Systems Analysis and Design With UML 2sparc.nfu.edu.tw/~lyc/oo/OO-ch01.pdf · Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter

Slide 12

Processes andDeliverables

Phase Product

Planning

Analysis

Design

Implementation

Project Plan

System Proposal

SystemSpecification

New System andMaintenance Plan

Page 13: Systems Analysis and Design With UML 2sparc.nfu.edu.tw/~lyc/oo/OO-ch01.pdf · Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter

Slide 13

THE EVOLUTION OFSYSTEM DEVELOPMENT

Page 14: Systems Analysis and Design With UML 2sparc.nfu.edu.tw/~lyc/oo/OO-ch01.pdf · Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter

Slide 14

What Is a Methodology?

A formalized approach or seriesof stepsWriting code without a well-thought-out system requestmay work for small programs,but rarely works for large ones.

Page 15: Systems Analysis and Design With UML 2sparc.nfu.edu.tw/~lyc/oo/OO-ch01.pdf · Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter

Slide 15

Structured Design

Projects move methodicallyfrom one to the next step.Generally, a step is finished

before the next one begins.Waterfall DevelopmentParallel Development

Page 16: Systems Analysis and Design With UML 2sparc.nfu.edu.tw/~lyc/oo/OO-ch01.pdf · Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter

Slide 16

Waterfall DevelopmentMethod

Page 17: Systems Analysis and Design With UML 2sparc.nfu.edu.tw/~lyc/oo/OO-ch01.pdf · Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter

Slide 17

Pros and Cons of theWaterfall Method

Pros Cons

Identifies systemsrequirements longbefore programmingbegins

Design must bespecified on paperbefore programmingbegins

Long time betweensystem proposal anddelivery of newsystem

Page 18: Systems Analysis and Design With UML 2sparc.nfu.edu.tw/~lyc/oo/OO-ch01.pdf · Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter

Slide 18

A “Simple”Process for Making Lunch

Page 19: Systems Analysis and Design With UML 2sparc.nfu.edu.tw/~lyc/oo/OO-ch01.pdf · Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter

Slide 19

Alternatives to the SDLC

Rapid Application Development(RAD)Phased DevelopmentPrototypingThrow-Away Prototyping

Page 20: Systems Analysis and Design With UML 2sparc.nfu.edu.tw/~lyc/oo/OO-ch01.pdf · Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter

Slide 20

Rapid ApplicationDevelopment

Critical elementsCASE toolsJAD sessionsFourth generation/visualizationprogramming languagesCode generators

Page 21: Systems Analysis and Design With UML 2sparc.nfu.edu.tw/~lyc/oo/OO-ch01.pdf · Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter

Slide 21

Rapid ApplicationDevelopment Categories

Phased developmentA series of versions

PrototypingSystem prototyping

Throw-away prototypingDesign prototyping

Page 22: Systems Analysis and Design With UML 2sparc.nfu.edu.tw/~lyc/oo/OO-ch01.pdf · Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter

Slide 22

How Prototyping Works

Page 23: Systems Analysis and Design With UML 2sparc.nfu.edu.tw/~lyc/oo/OO-ch01.pdf · Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter

Slide 23

Throwaway Prototyping

Page 24: Systems Analysis and Design With UML 2sparc.nfu.edu.tw/~lyc/oo/OO-ch01.pdf · Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter

Slide 24

Object-Oriented Analysisand Design

Attempts to balance emphasison data and processUses Unified Modeling Language(UML) for diagramming

Use-case DrivenArchitecture CentricIterative and Incremental

Page 25: Systems Analysis and Design With UML 2sparc.nfu.edu.tw/~lyc/oo/OO-ch01.pdf · Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter

Slide 25

BASICCHARACTERISTICS OFOBJECT-ORIENTEDSYSTEMS

Page 26: Systems Analysis and Design With UML 2sparc.nfu.edu.tw/~lyc/oo/OO-ch01.pdf · Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter

Slide 26

Key Elements

Classes -- template to define objects

Instances -- specific examples of classmembers

Objects -- building block of the system

Attributes -- describe data aspects of theobject

Methods -- the processes the object canperform

Messages -- instructions sent to or receivedfrom other objects

Page 27: Systems Analysis and Design With UML 2sparc.nfu.edu.tw/~lyc/oo/OO-ch01.pdf · Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter

Slide 27

A Class and Its Objects

PATIENT

-Name-Birthdate-Phone Number+Insert ()()+Delete ()()

PATIENT 1: TOP PACKAGE: PATIENT

-Name = Teresa Marks-Birthdate = March 16, 1975-Phone number = 314-997-3456

PATIENT 2: TOP PACKAGE: PATIENT

-Name = Mel Bourne-Birthdate = May 11, 1965-Phone number = 314-997-3219

Attributes

Methods

Class

Instantiated Objects of the Class

Page 28: Systems Analysis and Design With UML 2sparc.nfu.edu.tw/~lyc/oo/OO-ch01.pdf · Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter

Slide 28

The Key to Reusability

Information hiding is theprinciple that only informationrequired to use the object isavailable outside the objectEncapsulation is the mechanismthat combines data andprocesses in a single object

Page 29: Systems Analysis and Design With UML 2sparc.nfu.edu.tw/~lyc/oo/OO-ch01.pdf · Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter

Slide 29

Class Hierarchy

Page 30: Systems Analysis and Design With UML 2sparc.nfu.edu.tw/~lyc/oo/OO-ch01.pdf · Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter

Slide 30

Inheritance

Page 31: Systems Analysis and Design With UML 2sparc.nfu.edu.tw/~lyc/oo/OO-ch01.pdf · Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter

Slide 31

Polymorphism

Page 32: Systems Analysis and Design With UML 2sparc.nfu.edu.tw/~lyc/oo/OO-ch01.pdf · Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter

Slide 32

OBJECT-ORIENTEDANALYSIS AND DESIGNUSING UML

Page 33: Systems Analysis and Design With UML 2sparc.nfu.edu.tw/~lyc/oo/OO-ch01.pdf · Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter

Slide 33

UML

The full UML provides 9separate diagrammingtechniques

Page 34: Systems Analysis and Design With UML 2sparc.nfu.edu.tw/~lyc/oo/OO-ch01.pdf · Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter

Slide 34

PROJECT TEAM ROLESAND SKILLS

Page 35: Systems Analysis and Design With UML 2sparc.nfu.edu.tw/~lyc/oo/OO-ch01.pdf · Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter

Slide 35

Information SystemsRoles

Business analystSystem analystInfrastructure analystChange management analystProject manager

Page 36: Systems Analysis and Design With UML 2sparc.nfu.edu.tw/~lyc/oo/OO-ch01.pdf · Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter

Slide 36

Summary -- Part 1

The Systems Development Lifecycleconsists of four stages: Planning, Analysis,Design, and Implementation

There are three major developmentmethodologies: the waterfall method, RAD,and the Object-Oriented approach.

Page 37: Systems Analysis and Design With UML 2sparc.nfu.edu.tw/~lyc/oo/OO-ch01.pdf · Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter

Slide 37

Summary -- Part 2There are six major elements in Object-Oriented design: classes, objects,instances, attributes, methods, andmessages.Encapsulation, Inheritance, andPolymorphism are also important object-oriented conceptsThere are five major team roles:business analyst, systems analyst,infrastructure analyst, changemanagement analyst and projectmanager.

Page 38: Systems Analysis and Design With UML 2sparc.nfu.edu.tw/~lyc/oo/OO-ch01.pdf · Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter

Slide 38

Expanding the Domain

For complete description of UMLsee:www.rational.com/uml