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.
Sprache
Verlagsort
Zielgruppe
Produkt-Hinweis
Broschur/Paperback
Klebebindung
Maße
Höhe: 234 mm
Breite: 179 mm
Dicke: 25 mm
Gewicht
ISBN-13
978-0-596-52773-0 (9780596527730)
Schweitzer Klassifikation
Judith Bishop is a computer scientist, in Pretoria South Africa, specializing in the application of programming languages to distributed systems and web-based technologies. She is internationally known as an advocate of new technology. Her books on Java and C# have been published in six languages. She represents South Africa on IFIP TC2 on software and is a chair or member of numerous international conference committees and editorial boards.
Inhaltsverzeichnis
Foreword
Preface
1. C# Meets Design Patterns
About Patterns
About UML
About C# 3.0
About the Examples
2. Structural Patterns: Decorator, Proxy, and Bridge
Decorator Pattern
Proxy Pattern
Bridge Pattern
Example: OpenBook
Pattern Comparison
3. Structural Patterns: Composite and Flyweight
Composite Pattern
Flyweight Pattern
Exercises
Pattern Comparison
4. Structural Patterns: Adapter and Façade
Adapter Pattern
Façade Pattern
Pattern Comparison
5. Creational Patterns: Prototype, Factory Method, and Singleton
Prototype Pattern
Factory Method Pattern
Singleton Pattern
Pattern Comparison
6. Creational Patterns: Abstract Factory and Builder
Abstract Factory Pattern
Builder Pattern
Pattern Comparison
7. Behavioral Patterns: Strategy, State, and Template Method
Strategy Pattern
State Pattern
Template Method Pattern
Pattern Comparison
8. Behavioral Patterns: Chainof Responsibility and Command
Chain of Responsibility Pattern
Command Pattern
Pattern Comparison
9. Behavioral Patterns: Iterator, Mediator, and Observer
Iterator Pattern
Mediator Pattern
Observer Pattern
Pattern Discussion and Comparison
10. Behavioral Patterns: Visitor, Interpreter, and Memento
Visitor Pattern
Interpreter Pattern
Memento Pattern
Pattern Comparison
11. The Future of Design Patterns
Summary of Patterns
A Future for Design Patterns
Concluding Remarks
Appendix
Bibliography
Index