Design Patterns in C# - Steven Metsker - 9780321126979 - Computer Science - Introduction to Computer Science - Pearson Education Schweiz AG - Der Fachverlag fuer Bildungsmedien - 978-0-3211-2697-9

Design Patterns in C#

Seite senden! 

Grosses Bild
Titel:   Design Patterns in C#
Reihe:   Addison-Wesley
Autor:   Steven John Metsker
Verlag:   Addison-Wesley (E)
Einband:   Hardcover
Auflage:   1
Sprache:   Englisch
Seiten:   480
Erschienen:   April 2004
ISBN13:   9780321126979
ISBN10:   0-321-12697-1
Status:   Der Titel ist leider nicht mehr lieferbar. Sorry, This title is no longer available. Malheureusement ce titre est épuisé.
 

Design Patterns in C#

Description

For students learning in the Microsoft environment, this book is a companion to the original Design Patterns text tailored to the C#. This book is an application book, rather than a theoretical one. It is written for students who want to gain a better understanding of the patterns described in the seminal design patterns book by Gamma et al. The book's intent is to give students the confidence and know-how to apply the original 23 patterns identified in the Gamma book, with all code examples provided in C#.


Features

For developers in the Microsoft environment, a companion to the original Design Patterns text tailored to the C# programming language.

° A catalog of proven solutions to recurring problems in C# software design

° Part of the Addison-Wesley Software Patterns Series, with John Vlissides as consulting editor

° Allows the growing legions of Microsoft technology developers to apply traditional software approaches to frequently encountered problems

Zum Seitenanfang

Table of Contents



Preface.


1. Introduction.

Why Patterns? Why Design Patterns? Why C#? UML. Challenges. The Organization of this Book. Welcome to Oozinoz! Summary.

I. INTERFACE PATTERNS.

2. Introducing Interfaces.

Interfaces and Abstract Classes. Interfaces and Delegates. Interfaces and Properties. Interface Details. Summary. Beyond Ordinary Interfaces.

3. Adapter.

Adapting to an Interface. Class and Object Adapters. Adapting Data in .NET. Summary.

4. Facade.

An Ordinary Facade. Refactoring to Facade. Facades, Utilities, and Demos. Summary.

5. Composite.

An Ordinary Composite. Recursive Behavior in Composites. Composites, Trees, and Cycles. Composites with Cycles. Consequences of Cycles. Summary.

6. Bridge.

An Ordinary Abstraction. From Abstraction to Bridge. Drivers as Bridges. Database Drivers. Summary.

II. RESPONSIBILITY PATTERNS.

7. Introducing Responsibility.

Ordinary Responsibility. Controlling Responsibility with Accessibility. Summary. Beyond Ordinary Responsibility.

8. Singleton.

Singleton Mechanics. Singletons and Threads. Recognizing Singleton. Summary.

9. Observer.

C# Support for Observer. Delegate Mechanics. A Classic Example-Observer in GUIs. Model/View/Controller. Layering. Summary.

10. Mediator.

A Classic Example-GUI Mediators. Relational Integrity Mediators. Summary.

11. Proxy.

A Simple Proxy. A Data Proxy. Remote Proxies. Summary.

12. Chain of Responsibility.

An Ordinary Chain of Responsibility. Refactoring to Chain of Responsibility. Anchoring a Chain. Chain of Responsibility without Composite. Summary.

13. Flyweight.

Immutability. Extracting the Immutable Part of a Flyweight. Sharing Flyweights. Summary.

III. CONSTRUCTION PATTERNS.

14. Introducing Construction.

A Few Construction Challenges. Summary. Beyond Ordinary Construction.

15. Builder.

An Ordinary Builder. Building under Constraints. A Forgiving Builder. Summary.

16. Factory Method.

A Classic Example-Enumerators. Recognizing Factory Method. Taking Control of Which Class to Instantiate. Factory Method in Parallel Hierarchies. Summary.

17. Abstract Factory.

A Classic Example-GUI Kits. Abstract Factories and Factory Method. Namespaces and Abstract Factories. Summary.

18. Prototype.

Prototypes as Factories. Prototyping with Clones. Summary.

19. Memento.

A Classic Example-Using Memento for Undo. Memento Durability. Persisting Mementos across Sessions. Summary.

IV. OPERATION PATTERNS.

20. Introducing Operations.

Operations and Methods. Signatures. Delegates. Exceptions. Algorithms and Polymorphism. Summary. Beyond Ordinary Operations.

21. Template Method.

A Classic Example-Sorting. Completing an Algorithm. Template Method Hooks. Refactoring to Template Method. Summary.

22. State.

Modeling States. Refactoring to State. Making States Constant. Summary.

23. Strategy.

Modeling Strategies. Refactoring to Strategy. Comparing Strategy and State. Comparing Strategy and Template Method. Summary.

24. Command.

A Classic Example-Menu Commands. Using Command to Supply a Service. Command Hooks. Command in Relation to Other Patterns. Summary.

25. Interpreter.

An Interpreter Example. Interpreters, Languages, and Parsers. Summary.

V. EXTENSION PATTERNS.

26. Introducing Extensions.

Principles of OO Design. The Liskov Substitution Principle. The Law of Demeter. Removing Code Smells. Beyond Ordinary Extensions. Summary.

27. Decorator.

A Classic Example-Streams. Function Wrappers. Decorator in GUIs. Decorator in Relation to Other Patterns. Summary.

28. Iterator.

Ordinary Iteration. Thread-Safe Iteration. Iterating over a Composite. Summary.

29. Visitor.

Visitor Mechanics. An Ordinary Visitor. Visitor Cycles. Visitor Controversy. Summary.

Appendix A: Directions.

Get the Most Out of This Book. Understand the Classics. Weave Patterns into Your Code. Keep Learning.

Appendix B: Solutions.
Appendix C: Oozinoz Source.

Acquiring and Using the Source. Building the Oozinoz Code. Helping the Oozinoz Code Find Files. Testing the Code with NUnit. Finding Files Yourself. Summary.

Appendix D: UML at a Glance.

Classes. Class Relationships. Interfaces. Delegates and Events. Objects. States.

Glossary.
Bibliography.
Index.
Zum Seitenanfang

Back Cover

Steven John Metsker explains how to use C# as an object-oriented language, using design patterns to create clean code while taking advantage of the extensive Microsoft(R) .NET Framework Class Libraries.

For all 23 classic "Gang of Four" design patterns, Metsker offers detailed code examples utilizing C# and the .NET Framework--as well as programming exercises crafted to help you rapidly build expertise. His exercises and explanations make extensive use of the Unified Modeling Language, helping you build your skills in this standard notation.

Design patterns covered include:

  • Interfaces: Adapter, Facade, Composite, and Bridge
  • Responsibility: Singleton, Observer, Mediator, Proxy, Chain of Responsibility, and Flyweight
  • Construction: Builder, Factory Method, Abstract Factory, Prototype, and Memento
  • Extensions: Decorator, Iterator, and Visitor

If you've already used design patterns in other languages, Design Patterns in C# will deepen your understanding, build your confidence, and help you apply them to any C# project. If you're a Microsoft programmer who's new to design patterns, this book will be an ideal practical introduction.

www.awprofessional.com/patterns/

ADDISON-WESLEY PROFESSIONAL

Pearson Education

ISBN: 0-321-12697-1

Zum Seitenanfang

Author

STEVEN JOHN METSKER has written extensively on design patterns, object-oriented programming, and software methodologies. Steve is a software consultant with CapTech Ventures, and a frequent speaker at OOPSLA conferences. His work has appeared in journals including Java Report, JOOP, Distributed Object Computing, and Object Magazine. Steve's Addison Wesley books include Design Patterns Java Workbook and Building Parsers in Java.

Zum Seitenanfang

Computer Science

  
 
↓  Click TAB to change Subject  ↓
Introduction to Computer Science Programming - General Programming - Introduction
Programming for Business Programming for Engineers Programming - Intermediate
Algorithms and Data Structures Database Systems Computer Graphics Systems Analysis & Design
Software Engineering Artificial Intelligence Mathematics and Logic Internet/Multimedia/eBusiness
Human Computer Interaction Computer Organization and Architecture Networking and Telecommunications
Operating Systems
Course Name
 
  Aktuelle Titel  
Sortieren nach        Sprache
  Seite 1  2  3  4    

Grundlagen der Informatik

Reihe:   Informatik
Autor:   Herold/Lurz/Wohlrab
Verlag:   Pearson Studium
Sprache:   Deutsch
Datum:   August 2007
9783827373052, Fr. 83.50

Computernetzwerke

Reihe:   Informatik
Autor:   Tanenbaum, Andrew
Verlag:   Pearson Studium
Sprache:   Deutsch
Datum:   Juli 2003
9783827370464, Fr. 83.50

Wissenschaftlich mit LaTeX arbeiten

Reihe:   Scientific Tools
Autor:   Thibud/Schlager
Verlag:   Pearson Studium
Sprache:   Deutsch
Datum:   August 2007
9783827372390, Fr. 34.50

Der LaTeX-Begleiter

Reihe:   Scientific Tools
Autor:   Goossens u.a.
Verlag:   Pearson Studium
Sprache:   Deutsch
Datum:   Oktober 2005
9783827371669, Fr. 115.50

Informatik macchiato

Reihe:   Scientific Tools
Autor:   Magenheim/Müller
Verlag:   Pearson Studium
Sprache:   Deutsch
Datum:   Mai 2009
9783827373373, Fr. 29.50

Comptrs:Tools Info Age& Expl It Labs02: International Edition

Autor:   CAPRON & JOHNSON
Verlag:   Pearson Education
Sprache:   Englisch
Datum:   März 2006
9780132300865, Fr. 112.00

Design Patterns:Elements of Reusable Object-Oriented Software

Autor:   Erich Gamma
Verlag:   Addison-Wesley (E)
Sprache:   Englisch
Datum:   März 1995
9780201633610, Fr. 81.90

Applying UML and Patterns:An Introduction to Object-Oriented Analysis and Design and Iterative Development

Autor:   Craig Larman
Verlag:   Prentice Hall
Sprache:   Englisch
Datum:   November 2004
9780131489066, Fr. 81.90

LaTeX I

Reihe:   Scientific Tools
Autor:   Kopka, Helmut
Verlag:   Pearson Studium
Sprache:   Deutsch
Datum:   März 2002
Beilagen:   CD
9783827370389, Fr. 67.00

LaTEX I-III - eBooks auf 3 CD-ROMs

Reihe:   eBook (PS)
Autor:   Kopka, Helmut
Verlag:   Pearson Studium
Sprache:   Deutsch
Datum:   Januar 2008
9783827373311, Fr. 83.50

Computer Science:An Overview: International Edition

Autor:   J. Brookshear
Verlag:   Pearson Education
Sprache:   Englisch
Datum:   Februar 2008
9780321544285, Fr. 118.00

Object-Oriented Software Construction (Book/CD-ROM)

Autor:   Bertrand Meyer
Verlag:   Prentice Hall
Sprache:   Englisch
Datum:   Mai 1997
9780136291558, Fr. 67.60

Wissenschaftlich mit LaTeX arbeiten

Reihe:   Scientific Tools
Autor:   Schlager,P./Thibud,M.
Verlag:   Pearson Studium
Sprache:   Deutsch
Datum:   März 2005
9783827370785, Fr. 32.00

Computer Ethics:International Edition

Autor:   Deborah Johnson
Verlag:   Pearson Education
Sprache:   Englisch
Datum:   Januar 2009
9780131230224, Fr. 41.00

Introduction to Programming with Greenfoot: Object-Oriented Programmingin Java with Games and Simulations: International Editi

Autor:   Michael Kolling
Verlag:   Pearson Education
Sprache:   Englisch
Datum:   September 2009
9780132454285, Fr. 85.00

LaTeX III

Reihe:   Scientific Tools
Autor:   Kopka, Helmut
Verlag:   Pearson Studium
Sprache:   Deutsch
Datum:   Juni 2002
9783827370433, Fr. 67.00

Einführung in die Automatentheorie, Formale Sprachen und Komplexität

Reihe:   Informatik
Autor:   Hopcroft et al
Verlag:   Pearson Studium
Sprache:   Deutsch
Datum:   Oktober 2002
9783827370204, Fr. 67.00

Problem Solving and Programming Concepts: International Version

Autor:   Maureen Sprankle
Verlag:   Pearson Education
Sprache:   Englisch
Datum:   November 2008
9780137147908, Fr. 111.00

Refactoring:Improving the Design of Existing Code

Autor:   Martin Fowler
Verlag:   Addison-Wesley (E)
Sprache:   Englisch
Datum:   Juli 1999
9780201485677, Fr. 74.70

Agile and Iterative Development:A Manager's Guide

Autor:   Craig Larman
Verlag:   Addison-Wesley (E)
Sprache:   Englisch
Datum:   August 2003
9780131111554, Fr. 53.20
  Seite 1  2  3  4    
Legende:   sofort lieferbar