注册 | 登录读书好,好读书,读好书!
读书网-DuShu.com
当前位置: 首页出版图书科学技术计算机/网络软件与程序设计设计模式:可复用面向对象软件的基础(英文版·典藏版)

设计模式:可复用面向对象软件的基础(英文版·典藏版)

设计模式:可复用面向对象软件的基础(英文版·典藏版)

定 价:¥79.00

作 者: [美] 埃里克·伽玛(Erich Gamma) 著
出版社: 机械工业出版社
丛编项:
标 签: 暂缺

购买这本书可以去


ISBN: 9787111679547 出版时间: 2021-05-01 包装: 精装
开本: 32开 页数: 396 字数:  

内容简介

  本书是引导读者走出软件设计迷宫的指路明灯,凝聚了软件开发界几十年的设计经验。四位面向对象领域专家精心选取了颇具价值的设计实践,加以分类整理和命名,并用简洁而易于复用的形式表达出来。本书已经成为面向对象技术人员的圣经和词典,书中定义的23个模式逐渐成为开发界技术交流所的基础知识和词汇。

作者简介

  埃里克·伽玛(Erich Gamma) 在瑞士苏黎世大学获得计算机科学博士学位。他与Kent Beck合作开发了单元测试框架JUnit,并领导了Eclipse Java Development Tools项目。他还曾是IBM Rational Jazz项目的主要成员。2011年,Gamma以杰出工程师(Distinguished Engineer)的身份加入微软Visual Studio团队,领导微软位于瑞士苏黎世的实验室。理查德·赫尔姆(Richard Helm) 在澳大利亚墨尔本大学获得计算机科学博士学位,曾在IBM T. J. Watson担任研究员,并在澳大利亚开创了IBM面向对象技术研究分部。拉尔夫·约翰逊(Ralph Johnson) 在美国康奈尔大学获得计算机科学博士学位,伊利诺伊大学教授,在模式、重构等领域均有很高造诣。约翰·威利斯迪斯(John Vlissides) 在美国斯坦福大学获得计算机科学博士学位,是IBM T. J. Watson研究中心的研究员。

图书目录

1 Introduction 1
1.1 WhatIs a Design Pattern? . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1 2 Design Patterns in Smalltalk MVC 4
1.3 Describing Design Patterns . . . . . . . . . . . . . . . . . . . . . . . . 6
1.4 The Catalog of Design Patterns . . . . . . . . . . . . . . . . . . . . . . 8
1.5 Organizing the Catalog . . . . . . . . . . . . . . . . . . . . . . . . . 9
1.6 How Design Patterns Solve Design Problems . . . . . . . . . . . . . . . 11
1.7 Howto Selecta Design Pattern . . . . . . . . . . . . . . . . . . . . . . . 28
1.8 Howto Use a Design Pattern . . . . . . . . . . . . . . . . . . . . . . . . 29
2 A Case Study: Designing a Document Editor 33
2 1 Design Problems 33
2.2 Document Structure . . . . . . . . . . . . . . . . . . . . . 35
2.3 Formatting . . . . . . . . . . . . . . . . . . . . . . . . ~ 40
2.4 Embellishing the User Interface . . . . . . . . . . . . . . . . . . . . 43
2.5 Supporting Multiple Look-and-Feel Standards 47
2.6 Supporting Multiple Window Systems . . . . . . . . . . . . . . . . . . . 51
2.7 User Operations . . . . . . . . . . . . . . . . . . . . . 58
2.8 Spelling Checking and Hyphenation. . . . . . . . . . . . . . . . . . . . . 64
2.9 Summary. . . . . . . . . . . . . . . . . . . . . 76
Design Pattern Catalog 79
3 Creational Patterns 81
Abstract Factory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Builder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
Factory Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
Prototype . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
Singleton 127
Discussion of Creational Patterns 135
4 Structural Patterns 137
Adapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
Bridge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
Composite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
Decorator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
Facade........................................ 185
Flyweight . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
Proxy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
Discussion of Structural Patterns . . . . . . . . . . . . . . . . . . . . . . . . . 219
5 Behavioral Patterns 221
Chain of Responsibility . . . . . . . . . . . . . . . . . . . . . . . 223
Command...................................... 233
Interpreter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
Iterator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257
Mediator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273
Memento . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
Observer...................................... 293
State . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305
Strate~v . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
Template Method. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325
Visitor. . . . . . . . . . . . . . . . . . . . . . .

本目录推荐