If you want to speed up the development of your .NET applications, you're ready for C# design patterns -- elegant, accepted and proven ways to tackle common programming problems. This practical guide offers you a clear introduction to the classic object-oriented design patterns, and explains how to
C# 3.0 Design Patterns
✍ Scribed by Judith Bishop
- Publisher
- O'Reilly Media
- Year
- 2007
- Tongue
- English
- Leaves
- 316
- Edition
- 1
- Category
- Library
No coin nor oath required. For personal study only.
✦ Synopsis
If you want to speed up the development of your .NET applications, you're ready for C# design patterns - elegant, accepted and proven ways to tackle common programming problems. This practical guide offers you a clear introduction to the classic object-oriented design patterns, and explains how to use the latest features of C# 3.0 to code them. C# Design Patterns draws on new C# 3.0 language and .NET 3.5 framework features to implement the 23 foundational patterns known to working developers. You get plenty of case studies that reveal how each pattern is used in practice, and an insightful comparison of patterns and where they would be best used or combined. This well-organized and illustrated book includes: An explanation of design patterns and why they're used, with tables and guidelines to help you choose one pattern over another Illustrated coverage of each classic Creational, Structural, and Behavioral design pattern, including its representation in UML and the roles of its various players C# 3.0 features introduced by example and summarized in sidebars for easy reference Examples of each pattern at work in a real .NET 3.5 program available for download from O'Reilly and the author's companion web site Quizzes and exercises to test your understanding of the material. With C# 3.0 Design Patterns, you learn to make code correct, extensible and efficient to save time up front and eliminate problems later. If your business relies on efficient application development and quality code, you need C# Design Patterns.
✦ Table of Contents
C# 3.0 Design Patterns......Page 1
Table of Contents......Page 8
Foreword......Page 12
Why I Wrote This Book......Page 16
What You Need to Know......Page 17
How This Book Is Organized......Page 18
What You Need to Use This Book......Page 19
Using Code Examples......Page 20
Safari® Books Online......Page 21
Acknowledgments......Page 22
C# Meets Design Patterns......Page 24
About Patterns......Page 25
About UML......Page 26
About C# 3.0......Page 28
About the Examples......Page 29
Structural Patterns: Decorator, Proxy, and Bridge......Page 31
Illustration......Page 32
Design......Page 33
Implementation......Page 36
Example: Photo Decorator......Page 39
Use......Page 43
Exercises......Page 44
Illustration......Page 45
Design......Page 46
Implementation......Page 47
Example: SpaceBook......Page 52
Exercises......Page 58
Design......Page 59
Implementation......Page 61
Example: OpenBook......Page 62
Pattern Comparison......Page 69
Illustration......Page 72
Design......Page 73
Implementation......Page 75
Use......Page 82
Role......Page 83
Design......Page 84
Implementation......Page 86
Example: Photo Group......Page 89
Use......Page 94
Pattern Comparison......Page 95
Illustration......Page 97
Design......Page 99
Implementation......Page 100
Two-Way Adapters......Page 103
Example: The Seabird......Page 104
Pluggable Adapters......Page 108
Example: CoolBook......Page 110
Use......Page 114
Exercises......Page 115
Design......Page 116
Implementation......Page 117
Façade Alternatives......Page 120
Use......Page 121
Pattern Comparison......Page 122
Role......Page 124
Design......Page 125
Implementation......Page 127
Example: Photo Archive......Page 131
Use......Page 132
Illustration......Page 133
Design......Page 134
Implementation and Example: Avocado Sourcing......Page 135
Exercises......Page 137
Illustration......Page 138
Design......Page 139
Implementation......Page 140
Use......Page 142
Pattern Comparison......Page 143
Illustration......Page 145
Design......Page 146
Implementation and Example: Gucci and Poochy......Page 148
Use......Page 151
Illustration......Page 152
Design......Page 153
Implementation......Page 154
Example......Page 157
Pattern Comparison......Page 160
Illustration......Page 162
Design......Page 163
Implementation......Page 165
Example: Sorting Animator......Page 167
Role......Page 171
Design......Page 172
Implementation......Page 174
Example: RPC Game......Page 176
Exercises......Page 180
Design......Page 181
Implementation......Page 182
Use......Page 184
Pattern Comparison......Page 185
Illustration......Page 187
Design......Page 188
Implementation......Page 190
Example: Trusty Bank......Page 191
Use......Page 197
Illustration......Page 198
Design......Page 199
Implementation......Page 201
Multireceiver commands......Page 203
Example: Menu Handler......Page 205
Use......Page 208
Exercises......Page 209
Pattern Comparison......Page 210
Illustration......Page 211
Design......Page 213
Implementation......Page 215
Example: Family Tree......Page 219
Use......Page 222
Illustration......Page 223
Design......Page 224
Implementation......Page 225
Example: Chat Room......Page 228
Use......Page 232
Illustration......Page 233
Design......Page 234
Push and pull models......Page 235
Implementation......Page 236
Example: Blogs......Page 238
Pattern Discussion and Comparison......Page 240
Language Support for the Iterator Pattern......Page 241
Mediator and Observer Pattern Comparison......Page 242
Illustration......Page 243
Design......Page 245
Implementation......Page 246
Example: Course Statistics......Page 252
Use......Page 255
Interpreter Pattern......Page 256
Grammars......Page 257
Design......Page 258
Parsing......Page 259
Implementation......Page 260
Example: Mirrors......Page 262
Efficiency......Page 264
Illustration......Page 265
Design......Page 266
Implementation......Page 267
Example: TicTacToe......Page 270
Use......Page 274
Pattern Comparison......Page 275
Summary of Patterns......Page 276
A Future for Design Patterns......Page 279
Concluding Remarks......Page 281
Pluggable Adapter Pattern Example Code—CoolBook......Page 282
Prototype Pattern Example Code—Photo Archive......Page 286
Iterator Pattern Example Code—Family Tree......Page 290
Observer Pattern Example Code—Blogs......Page 292
Visitor Pattern Theory Code—Reflection......Page 296
Interpreter Pattern Example Code—Course Rules......Page 298
Interpreter Pattern Example Code—Mirrors......Page 302
Bibliography......Page 306
Index......Page 308
✦ Subjects
Библиотека;Компьютерная литература;C#;
📜 SIMILAR VOLUMES
If you want to speed up the development of your .NET applications, you're ready for C# design patterns -- elegant, accepted and proven ways to tackle common programming problems. This practical guide offers you a clear introduction to the classic object-oriented design patterns, and explains how to
AdvancED ActionScript 3.0 is a fresh look and new approach to utilizing valuable, structural techniques and methods that are commonly used in the field of rich interactive application development. With each method broken down into different strategized explanations, you'll find the approach mos