注冊(cè) | 登錄讀書好,好讀書,讀好書!
讀書網(wǎng)-DuShu.com
當(dāng)前位置: 首頁出版圖書科學(xué)技術(shù)計(jì)算機(jī)/網(wǎng)絡(luò)軟件與程序設(shè)計(jì)設(shè)計(jì)模式:可復(fù)用面向?qū)ο筌浖幕A(chǔ)(英文版·典藏版)

設(shè)計(jì)模式:可復(fù)用面向?qū)ο筌浖幕A(chǔ)(英文版·典藏版)

設(shè)計(jì)模式:可復(fù)用面向?qū)ο筌浖幕A(chǔ)(英文版·典藏版)

定 價(jià):¥79.00

作 者: [美] 埃里克·伽瑪(Erich Gamma) 著
出版社: 機(jī)械工業(yè)出版社
叢編項(xiàng):
標(biāo) 簽: 暫缺

ISBN: 9787111679547 出版時(shí)間: 2021-05-01 包裝: 精裝
開本: 32開 頁數(shù): 396 字?jǐn)?shù):  

內(nèi)容簡(jiǎn)介

  本書是引導(dǎo)讀者走出軟件設(shè)計(jì)迷宮的指路明燈,凝聚了軟件開發(fā)界幾十年的設(shè)計(jì)經(jīng)驗(yàn)。四位面向?qū)ο箢I(lǐng)域?qū)<揖倪x取了頗具價(jià)值的設(shè)計(jì)實(shí)踐,加以分類整理和命名,并用簡(jiǎn)潔而易于復(fù)用的形式表達(dá)出來。本書已經(jīng)成為面向?qū)ο蠹夹g(shù)人員的圣經(jīng)和詞典,書中定義的23個(gè)模式逐漸成為開發(fā)界技術(shù)交流所的基礎(chǔ)知識(shí)和詞匯。

作者簡(jiǎn)介

  埃里克·伽瑪(Erich Gamma) 在瑞士蘇黎世大學(xué)獲得計(jì)算機(jī)科學(xué)博士學(xué)位。他與Kent Beck合作開發(fā)了單元測(cè)試框架JUnit,并領(lǐng)導(dǎo)了Eclipse Java Development Tools項(xiàng)目。他還曾是IBM Rational Jazz項(xiàng)目的主要成員。2011年,Gamma以杰出工程師(Distinguished Engineer)的身份加入微軟Visual Studio團(tuán)隊(duì),領(lǐng)導(dǎo)微軟位于瑞士蘇黎世的實(shí)驗(yàn)室。理查德·赫爾姆(Richard Helm) 在澳大利亞墨爾本大學(xué)獲得計(jì)算機(jī)科學(xué)博士學(xué)位,曾在IBM T. J. Watson擔(dān)任研究員,并在澳大利亞開創(chuàng)了IBM面向?qū)ο蠹夹g(shù)研究分部。拉爾夫·約翰遜(Ralph Johnson) 在美國康奈爾大學(xué)獲得計(jì)算機(jī)科學(xué)博士學(xué)位,伊利諾伊大學(xué)教授,在模式、重構(gòu)等領(lǐng)域均有很高造詣。約翰·威利斯迪斯(John Vlissides) 在美國斯坦福大學(xué)獲得計(jì)算機(jī)科學(xué)博士學(xué)位,是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. . . . . . . . . . . . . . . . . . . . . . .

本目錄推薦

掃描二維碼
Copyright ? 讀書網(wǎng) www.afriseller.com 2005-2020, All Rights Reserved.
鄂ICP備15019699號(hào) 鄂公網(wǎng)安備 42010302001612號(hào)