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

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


  • 67 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.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.7

(Task managementSubsystem Design)

11.8

(Data managementSubsystem Design)

11.9

(Service in Classes Design )

11.10

(Relationship Design)

11.11 (Design optimizing)


(OOD)


11.1 (OOD Rule)

1. (Modularity)

2. (Abstraction)

3. (Information Hiding )


4. (Low Coupling)

(1) (Interface Coupling)

()


(2) (Enhancing Inheritance Coupling)


5. (High Cohesion )

3

1 (Service Cohesion )

2 (Classes Cohesion )

3 -(Generalization-specialization Cohesion ) -

-


6. (Reusable)

()


11.2 (Heuristic Rule )

1.

1

2

3

4


2. -

(100)72-


3.

(2)

(3)

(4)

7


4.

5.

35

CASE-

6.


11.1


11.3 (Software Reusing)11.3.1 summarize

1. Reusing)

3


(1) ()

(2) ()

(3)


2. (Reusing Levels)

3

(1) (Code Reusing)

(Cutting and Pasting)

(Include)(include)

(Inheritance)


(2) (Design Results Reusing)

()

(3) (Analysis Results Reusing)


3. (Reusable Elements)

10

1

2

3

()

4


5

6

7


8 GUI60%

9

10


11.3.2 (Classes Components)

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


(Reusable Componentscharacteristics)

(2)

(3)


2.

(Instance Reusing)

(Inheritance Reusing)

(Polymorphism Reusing)


11.3.3 (Reuse benefits)

1.

2.

30%~50%25%~40%


3.

C=Cs-Cr-Cd

CsCr

Cd

Cr


11.4 (System Division)

11.2

Human-Computer InterfaceSubsystem

Problem Subsystem

Task managementSubsystem

Data managementSubsystem


(Communication mode of Subsystems)

(1) -(Client-supplier)

(2) (peer-to-peer)

-


2. (Organizing Structures)

(1)

(2)


11.3

3. (Topology Structure)


11.5

(Problem Subsystem Design)


(Improving Requirements)

2. (Reusing finished Classes)

(1)

(2) ()

(3)

(4)


3.

(Superinducing Root Classe)

4.

(SuperinducingGeneralization Classes)

()()


5. (Improing Inheritance Levels)

(1)

11.4


11.


(2)


11.6


11.6 (Human-Computer InterfaceSubsystem Design)


1. (Classify Users)

()

()

()


2. (Describing Users)

()

()


3. (Command Hierarchy Design)

(1)

Windows

(2)

(3)


--


4.

(Human-Computer InterfaceClasses Design)

WindowsVisual C++MFCMFC


  • Login