正在加载图片...
Design Patterns:Elements of Rousable Object-Oriented Software Contents Preface to CD…5 preface to Book........................................................... Guide to Readers..............10 1 Introduct1on..,,..,,,,,..,,,,.,.,.....,.11 1.1 What Is a Design Pattern?.......................................12 1.2 Design Patterns in Smalltalk MvC...... .14 1.3 Describing Design Patterns 16 1.4 The catalog of Deaign Patterns...............................18 1.50 rganiz1 ng the Cata1og.,.......21 1,6 ow Des1 gn Patterns Solve Des.1 gn Problems..,...,·.·.·.·.,·...·.23 1,7 How to Select a Design Pattern,,,,,,,,,.,.,,,,,,,,,,,,,.,,,,,,.42 1.8 How to use a Design Pattern....................44 2 A Case Study:Designing a Document Editor.........................46 2.1De81 gn Problem8,..。.+··。….…。…····。·..。.,。·。.。.。·.…·。·。46 2.2 pocument structure..............................................47 2.3 Formatting… 2.4 Embellishing the User Interte ce …56 2.5 Supporting Multiple Look-and-Feel Standards...........60 2.6 Supporting Multiple Window Systems.............................64 2.70ser0 perations72 2.8 Spelling Checking and Hyphenation..............................77 2.9Summary 90 Design Pattern catalog..............................................93 3 Creational Patterns Factory................................................... 8u1dex.110 Fact0 ry Method,,,,.,。,。,,,。,,,,,,,,,,t,,,,。,,,,,,.,,,。,,,,,,121 Prototype.........................................................133 Singleton...... ......144 Discussion of Creational patterng........................ 153 Design Patterns: Elements of Reusable Object-Oriented Software 2 Contents Preface to CD ........................................................ 5 Preface to Book ...................................................... 7 Foreword ............................................................. 9 Guide to Readers .................................................... 10 1 Introduction ...................................................... 11 1.1 What Is a Design Pattern? ...................................... 12 1.2 Design Patterns in Smalltalk MVC ............................... 14 1.3 Describing Design Patterns ..................................... 16 1.4 The Catalog of Design Patterns ................................. 18 1.5 Organizing the Catalog ......................................... 21 1.6 How Design Patterns Solve Design Problems ...................... 23 1.7 How to Select a Design Pattern ................................. 42 1.8 How to Use a Design Pattern .................................... 44 2 A Case Study: Designing a Document Editor ......................... 46 2.1 Design Problems ................................................ 46 2.2 Document Structure ............................................. 47 2.3 Formatting ..................................................... 53 2.4 Embellishing the User Interface ................................ 56 2.5 Supporting Multiple Look-and-Feel Standards .................... 60 2.6 Supporting Multiple Window Systems ............................. 64 2.7 User Operations ................................................ 72 2.8 Spelling Checking and Hyphenation .............................. 77 2.9 Summary ........................................................ 90 Design Pattern Catalog .............................................. 93 3 Creational Patterns ............................................... 94 Abstract Factory ................................................... 99 Builder ........................................................... 110 Factory Method .................................................... 121 Prototype ......................................................... 133 Singleton ......................................................... 144 Discussion of Creational Patterns .................................. 153
向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有