Design patterns explained = 设计模式解析 : a new perspective on object-oriented design /

副标题:无

作   者:Alan Shalloway, James R. Trott著.

分类号:

ISBN:9787508315058

微信扫一扫,移动浏览光盘

简介

本书一个最大的创新就是使用了类比的方法而不是程序实例来简单地解释各种概念。 本书将面向对象的编程原则与设计模式的强大功能结合起来创建一个编程环境,用于开发健壮的和可靠的软件。书中包含很多实际的和可应用的实例,用来教你如何使用模式来解决常见的编程问题,以及解释如何利用模式的优势来进行高级软件设计。 本书开始是对模式基础知识的一个概述,重点强调了分析以及设计的重要性。作者清晰地阐述了模式如何使整个开发过程变得更加容易。全书解释了面向对象设计的关键原则,并且解释了各种特定环境模式的概念和优势。通过分析

目录

preface

from object orientation to patterns

to true object orientation

from artificial intelligence to patterns

to true object orientation

a note about conventions used in this book

feedback

acknowledgments

part 1

an introduction to object-oriented

ware development

chaptor,

the object-oriented paradigm

overview

before the object-oriented paradigm:

functional decomposition

the problem of requirements

dealing with changes: using functional decomposition

dealing with changing requirements

the object-oriented paradigm

.object-oriented programming in action

special object methods

summary

chapter 2

the uml-the unfifed modeling language

overview

what is the uml?

why use the uml?

the class diagram

interaction diagrams

summary

part ll

the limitations of traditional

object-oriented design

chapter 3

a probiem that cries out for fiexible code

overview

extracting information from a cad/cam system

understand the vocabulary

describe the problem

the essential challenges and approaches

summary

chapter 4

a standard object-oriented soiution

overview

solving with special cases

summary

supplement: c++ code examples

part ill

design patterns

chapter 5

an lntroduction to design patterns

overview

design patterns arose from architecture and anthropology

moving from architectural to software design patterns.

why study design patterns?

other advantages to studying design patterns

summary

chapter 6

the facade pattern

overview

introducing the facade pattern

learning the facade pattern

field notes: the facade pattern

relating the facade pattern to the cad/cam problem

summary

chapter 7

the adapter pattern

overview

introducing the adapter pattern

learning the adapter pattern

field notes: the adapter pattern

relating the adapter pattern to the cad/cam problem

summary

supplement: c++ code example

chapter 8

expanding our horizons

overview

objects: the traditional view and the new view

encapsulation: the traditional view and the new view

find what is varying and encapsulate it

commonality/variability and abstract classes

summary

chapter 9

the brldge pattern

overview

introducing the bridge pattern

learning the bridge pattern: an example

an observation about using design patterns

learning the bridge pattern: deriving it

the bridge pattern in retrospect

field notes: using the bridge pattern

summary

supplement: c++ code examples

chaptor 1o

the abstract factory pattern

overview

introducing the abstract factory pattern

learning the abstract factory pattern: an example

learning the abstract factory pattern: implementing it

field notes: the abstract factory pattern

relating the abstract factory pattern to

the cad/cam problem

summary

supplement: c++ code examples

part iv

putting lt ail togrther: thinking in pattrrns

chaptrr 11

how do expetrts design?

overview

building by adding distinctions

summary

chaptrr 12

solving the cad/cam problem wlth pattrrns_197

overview

review of the cad/cam problem

thinking in patterns

thinking in patterns: step 1

thinking in patterns: step 2a

thinking in patterns: step 2b

thinking in patterns: step 2c

thinking in patterns: step 2d (facade)

thinking in patterns: step 2d (adapter)

thinking in patterns: step 2d (abstract factory)

thinking in patterns: step 3

comparison with the previous solution

summary

chapter 13

the principles and strategies

of design patterns

overview

the open-closed principle

the principle of designing from context

the principle of containing variation

summary

part v

handling variations with design patterns

chapter 14

the strategy pattern

overview

an approach to handiing new requirements

initial requirements of the casc study

handling new requirements,

the strategy pattern

field notes: using the strategy pattern

summary

chapter 15

the decorator pattern

overview

a little more detail

the decorator pattern

applying the decorator pattern to the case study

another example: input/output

field notes: using the decorator pattern

summary

suppiement: c++ code examples

ohapter 16

the singleton pattern and the

double-checked locking pattern

overview

introducing the singleton pattern

applying the singleton pattern to the case study

a variant: the double-checked locking pattern

field notes: using the singleton and

double-checked locking patterns

summary

supplement: c++ code examples

ohapter 17

the observer pattern

overview

categories of patterns

more requirements for the case study

the observer pattern

applying the observer to the case study

field notes: using the observer pattern

summary

supplement: c++ code example

chapter 18

the tempiate method pattern

overview

more requirements for the case study.

the template method pattern

applying the template method to the case study

field notes: using the template method pattern

summary

chapter 19

the factory method pattern

overview

more requirements for the case study

the factory method pattern

field notes: using the factory method pattern

summary

chapter 2o

the analysis matrix

overview

in the reai world: variations

case study in variation: an international e-tail system

field notes

summary

part vl

endings and beginnings

chapter 21

oesign patterns reviewed

from the new perspective of

object-orlented design

overview

a summary of object-oriented principles

how design patterns encapsulate implementations

commonality/variability analysis and design patterns

decomposing a problem domain into responsibilities

relationships within a pattern

patterns and contextual design

field notes

summary

chapter 22

bibiiography

design patterns explained: the web site companion

recommended reading on design patterns

and object orientation

recommended reading for java programmers

recommended reading for c++ programmers

recommended reading for cobol programmers

recommended reading on extreme programming

recommended reading on general programming

personal favorites

lndex


已确认勘误

次印刷

页码 勘误内容 提交人 修订印次

Design patterns explained = 设计模式解析 : a new perspective on object-oriented design /
    • 名称
    • 类型
    • 大小

    光盘服务联系方式: 020-38250260    客服QQ:4006604884

    意见反馈

    14:15

    关闭

    云图客服:

    尊敬的用户,您好!您有任何提议或者建议都可以在此提出来,我们会谦虚地接受任何意见。

    或者您是想咨询:

    用户发送的提问,这种方式就需要有位在线客服来回答用户的问题,这种 就属于对话式的,问题是这种提问是否需要用户登录才能提问

    Video Player
    ×
    Audio Player
    ×
    pdf Player
    ×
    Current View

    看过该图书的还喜欢

    some pictures

    解忧杂货店

    东野圭吾 (作者), 李盈春 (译者)

    loading icon