11 object oriented design ood
This presentation is the property of its rightful owner.
Sponsored Links
1 / 42

第 11 章 面向对象设计 Object-Oriented Design (OOD) PowerPoint PPT Presentation


  • 60 Views
  • Uploaded on
  • Presentation posted in: General

第 11 章 面向对象设计 Object-Oriented Design (OOD). 11.1 面向对象设计的准则 (OOD Rule) 11.2 启发规则 ( Heuristic R ule ) 11.3 软件重用 (Software Reusing) 11.4 系统分解 (System Division ) 11.5 设计问题域子系统 (Problem Subsystem Design) 11.6 设计人机交互子系统 ( Human-Computer Interface Subsystem Design).

Download Presentation

第 11 章 面向对象设计 Object-Oriented Design (OOD)

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


11 object oriented design ood

11 Object-Oriented Design (OOD)

11.1 (OOD Rule)

11.2 (Heuristic Rule )

11.3 (Software Reusing)

11.4 (System Division)

11.5 (Problem Subsystem Design)

11.6

(Human-Computer InterfaceSubsystem Design)


11 object oriented design ood

11.7

(Task managementSubsystem Design)

11.8

(Data managementSubsystem Design)

11.9

(Service in Classes Design )

11.10

(Relationship Design)

11.11 (Design optimizing)


11 object oriented design ood

(OOD)


11 1 ood rule

11.1 (OOD Rule)

1. (Modularity)

2. (Abstraction)

3. (Information Hiding )


11 object oriented design ood

4. (Low Coupling)

(1) (Interface Coupling)

()


2 e nhanc ing i nheritance coupling

(2) (Enhancing Inheritance Coupling)


11 object oriented design ood

5. (High Cohesion )

3

1 (Service Cohesion )

2 (Classes Cohesion )

3 -(Generalization-specialization Cohesion ) -

-


11 object oriented design ood

6. (Reusable)

()


11 2 heuristic r ule

11.2 (Heuristic Rule )

1.

1

2

3

4


2 100 7 2

2. -

(100)72-


11 object oriented design ood

3.

(2)

(3)

(4)

7


11 object oriented design ood

4.

5.

35

CASE-

6.


11 object oriented design ood

11.1


11 3 software reusing 11 3 1 summarize

11.3 (Software Reusing)11.3.1 summarize

1. Reusing)

3


1 2 3

(1) ()

(2) ()

(3)


11 object oriented design ood

2. (Reusing Levels)

3

(1) (Code Reusing)

(Cutting and Pasting)

(Include)(include)

(Inheritance)


11 object oriented design ood

(2) (Design Results Reusing)

()

(3) (Analysis Results Reusing)


11 object oriented design ood

3. (Reusable Elements)

10

1

2

3

()

4


11 object oriented design ood

5

6

7


11 object oriented design ood

8 GUI60%

9

10


11 3 2 classes components

11.3.2 (Classes Components)

3(Instance Reusing)(Inheritance Reusing)(Polymorphism Reusing)


11 object oriented design ood

(Reusable Componentscharacteristics)

(2)

(3)


2 instance reusing inheritance reusing polymorphism reusing

2.

(Instance Reusing)

(Inheritance Reusing)

(Polymorphism Reusing)


11 3 3 reuse benefits

11.3.3 (Reuse benefits)

1.

2.

30%~50%25%~40%


11 object oriented design ood

3.

C=Cs-Cr-Cd

CsCr

Cd

Cr


11 4 system division

11.4 (System Division)

11.2

Human-Computer InterfaceSubsystem

Problem Subsystem

Task managementSubsystem

Data managementSubsystem


11 object oriented design ood

(Communication mode of Subsystems)

(1) -(Client-supplier)

(2) (peer-to-peer)

-


11 object oriented design ood

2. (Organizing Structures)

(1)

(2)


11 object oriented design ood

11.3

3. (Topology Structure)


11 object oriented design ood

11.5

(Problem Subsystem Design)


11 object oriented design ood

(Improving Requirements)

2. (Reusing finished Classes)

(1)

(2) ()

(3)

(4)


11 object oriented design ood

3.

(Superinducing Root Classe)

4.

(SuperinducingGeneralization Classes)

()()


5 improing inheritance levels 1 11 4

5. (Improing Inheritance Levels)

(1)

11.4


11 object oriented design ood

11.


11 object oriented design ood

(2)


11 object oriented design ood

11.6


11 6 human computer interface subsystem design

11.6 (Human-Computer InterfaceSubsystem Design)


1 classify users

1. (Classify Users)

()

()

()


11 object oriented design ood

2. (Describing Users)

()

()


11 object oriented design ood

3. (Command Hierarchy Design)

(1)

Windows

(2)

(3)


11 object oriented design ood

--


11 object oriented design ood

4.

(Human-Computer InterfaceClasses Design)

WindowsVisual C++MFCMFC


  • Login