CARVIEW |
By Judith Bishop
First Edition
December 2007
Pages: 314
ISBN 10: 0-596-52773-X |
ISBN 13: 9780596527730
(Average of 3 Customer Reviews)
Want to speed up the development of your .NET applications? Tackle common programming problems with C# design patterns. This guide explains what design patterns are and why they're used, with tables and guidelines to help you choose one pattern over another, and plenty of case studies to illustrate how each pattern is used in practice. C# 3.0 features are introduced by example and summarized for easy reference.
Full Description
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.
Cover | Table of Contents | Colophon
Featured customer reviews
I consider it a "must have", March 08 2008





In my noble opinion Judith Bishop really earns a statue! So many patterns so well explained for the C# .Net developer in so few pages including examples. Congratulations!
I really used some -many codelines saving- stuff from the book. Although I still haven't the time yet to read the book cover to cover, I already used several patterns from the book in 'real programming live'. I already used it several times as a reference guide and it really guides me well (some of my coworker coming over to see what wonderful code I have made).
Also wonderful that it's dealing up to version 3.0 of C#.
Priyobrata S. K., February 11 2008





Well,
Judith has finally done the fantastic job for .NET developer communities with respect to implementation of classic Design Patterns of GOF. There are plenty good books in the market for Design Pattern for .NET implementation. However, they are mostly of syntactical polymorphisms without leveraging the actual technologies or platform such as .NET or C#. They are either inherently or smartly transcended implementation of Java or C++ lingo though it shows as C# implementation.
I like particularly the way Judith twisted on lazy singleton pattern with nested class for instance. That's a good example of leveraging on the true .NET or C# power. That's not all, if you look each one of the implementations for each design pattern specific, this is the way you need to go and do implementation in C# or .NET technologies.
Congratulation Judith! You have done a very good job for .NET designers and developers. It will change lots of code designs and implementations in next few years to intermediate developers mindsets.
Essential design patterns book for .NET developers, January 23 2008





C# 3.0 Design Patterns by Judith Bishop takes a new approach to a classic subject. In so doing, Bishop imparts deep insight into what is widely considered a difficult subject and conveys practical knowledge in a concise manner that will greatly benefit any serious developer programming in C# for .NET.
After an introductory chapter entitled ?C# Meets Design Patterns,? there are nine chapters presenting all of the 23 classic design patterns from Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides's seminal work Design Patterns: Elements of Reusable Object-Oriented Software. The patterns are presented two or three at a time, and each chapter begins with a real-world illustration of the pattern in action. This is followed by a clear UML diagram, a concise description of the pattern players and their roles and a theory example that implements the pattern in quesiton in a complete console application that is made as short as possible, usually 50 to 80 lines of code.
After presenting each pattern, Bishop provides one or more examples, several of which are carried over to and expanded in subsequent chapters, and presents numerous exercises for the reader. Each chapter typically contains sidebars briefly describing one or more C# features and how they can be leveraged in implementing the pattern at hand. There is also excellent guidance on when to use each pattern and an invaluable comparison of the patterns presented in each chapter that provides further insight into their characteristics. In addition, all of the patterns, their interactions and the examples in which they are illustrated are summarized in the final chapter.
In a book of less than 300 pages, the examples, although highly relevant to practical programming problems, are necessarily somewhat simplistic. They do not contain any of the error checking, exception handling or test methods that would be present in industrial-strength code. Nonetheless, they are all complete programs that clearly illustrate the pattern in question and how to code it in C#. Several of the examples are also expanded over several chapters and presented in an appendix as fully functional programs that can be easily extended to provide additional functionality.
Perhaps the greatest strength of Bishop?s book and its greatest benefit to C#/.NET developers is its description of advanced C# 3.0 features and how they can be leveraged to create pattern implementations that are elegant and concise. Bishop not only writes with the authority one would expect of a professor of computer science. It is also very evident that she is an educator who has considerable experience in making difficult subjects comprehensible. As Microsoft C# Senior Developer Eric Lippert puts it in his preface to the book, ?C# 3.0 Design Patterns brings the frequently abstruse world of design patterns into sharp focus with pragmatic C# 3.0 implementations.?
Accomplishing this in less than 300 pages is nothing short of a tour de force. I have been trying for some time to get my head around design patterns and searching for good C# implementations. Now my search is over, and I have a practical guide to understanding and implementing the patterns that I need written by an accomplished theorist, practitioner and educator.
Media reviews
"Bishop has the credentials to pull this off: she is a computer scientist specializing in the application of programming languages to distributed systems and web - based technologies, and has books published in six languages. She is also a chair or member of numerous international conference committees and editorial boards...Once I opened it and started reading, it became obvious that since there are only 24 hours in a day, this was the one I needed to write a review on as it covers so much useful information so efficiently...If you already understand the C# programming language and have some introduction to Patterns under your belt, this book will be very exciting to you as it opens up the field to completely new possibilities. You'll see some "pretty slick" code examples in this book and even if you only ever end up using one or two of them, you will have certainly gotten your money's worth."
-- Peter Bromberg, EggHeadCafe.com
"If you already understand the C# programming language and have some introduction to Patterns under your belt, this book will be very exciting to you as it opens up the field to completely new possibilities."
--Peter Bromberg, EggHeadCafe.com
About O'Reilly | Contact | Jobs | Press Room | How to Advertise | Privacy Policy
|
© 2008, O'Reilly Media, Inc. | (707) 827-7000 / (800) 998-9938
All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners.