C# 3.0 Design Patterns

Judith Bishop

  • 出版商: O'Reilly
  • 出版日期: 2008-01-15
  • 售價: $1,850
  • 貴賓價: 9.5$1,758
  • 語言: 英文
  • 頁數: 318
  • 裝訂: Paperback
  • ISBN: 059652773X
  • ISBN-13: 9780596527730
  • 相關分類: C#Design Pattern
  • 已過版

買這商品的人也買了...

商品描述

Description 

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

Table of Contents

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