Buy Used
£2.49
+ £2.80 UK delivery
Used: Very Good | Details
Condition: Used: Very Good
Comment: ref 1d
Have one to sell?
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image

Design Patterns C# Workbook (Software Patterns) Hardcover – 15 Apr 2004

1.7 out of 5 stars 3 customer reviews

See all formats and editions Hide other formats and editions
Amazon Price
New from Used from
Hardcover
"Please retry"
£26.40 £2.37
click to open popover

Special Offers and Product Promotions

Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.

  • Apple
  • Android
  • Windows Phone

To get the free app, enter your mobile phone number.



Product details

Product Description

From the 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

About the 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.


Customer Reviews

1.7 out of 5 stars
5 star
0
4 star
0
3 star
0
2 star
2
1 star
1
See all 3 customer reviews
Share your thoughts with other customers

Top Customer Reviews

Format: Hardcover
This book describes all the GoF patterns in C#. In my opinion it has several problems:
- First, all the examples are based in the same context, a fireworks factory. Although it might seem a fun concept, it's terrible when the writer tries to "squeeze" all the patterns into this context. Some patterns don't really make any sense at all. The examples have complex details that include information that doesn't help a thing explaining the concepts. ex: in the Facade pattern (which is probably the simplest pattern), the writer creates an example based on the trajectory of a firework, and then spends 3 pages explaining parametric equations... ???
- The book has many chalenges, and although I find that a positive thing, I hate the way the writer tries to force the reader into those chalenges. Many patterns (almost all) don't include a complete UML model, because it has to be the reader to fill in the spaces of an incomplete diagram... It's very frustrating.
I really, really tried to like this book, and I understand the motivation behind some of the writer decisions, but I don't find this book helpful for beginners nor for advanced software architects... Pick Gof book and "Design Patterns Explained". These two are great books. If you want design patterns in c#, go to this link, it's much more helpful than "design patterns in c# Workbook":
[...]
Comment 33 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Hardcover
I mistakenly bought this book in the hope that in addition to teaching me about design patterns it might teach me some more about C# coding with design patterns, however the code that is present is not useful at all.
Having read the book it has given me a basic understanding of the various Design Patterns, even if in a somewhat forced context, but I wish I had just purchased the original GoF book.
Comment 6 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Hardcover
I feel the same as the other chaps here - i really wanted to love this book and the concept of pulling c# samples into the framework is a grand idea. But it was very disappointing, the firework model the author uses really doesnt work - i found myself spending more time trying to understand the reasons than the concepts. I also found methods missing which just broke a whole chapter (dont recall which). I also think the CLR/C# framework reduce the need in some cases (e.g Delegates) to worry as much about the relevant pattern.

Like i said - i wanted to love this book and now i want to throw it away - i'm definately expensing this one!
Comment One person found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse

Most Helpful Customer Reviews on Amazon.com (beta)

Amazon.com: 3.4 out of 5 stars 30 reviews
40 of 42 people found the following review helpful
4.0 out of 5 stars Works best in conjunction with GoF Design Patterns 14 Oct. 2004
By Jack D. Herrington - Published on Amazon.com
Format: Hardcover
This book reminds me of the 'Numerical Recipes in <x>' books. They were the thin adjunct books that accompanied Numerical Recipes which showed the examples implemented in various languages. The books were no good on their own, you needed Numerical Recipes to understand them. This book has the same problem. It doesn't introduce the patterns from scratch, it assumes that you have read the GoF book and that you can use it as the base source material.

That being said the author puts together, succinctly, with both diagrams and code, C# examples for all of the GoF design patterns. Even though in some cases there is very little code because the patterns have been integrated into the structure of the .NET framework.

I think this book is worth a look for anyone writing C# on a daily basis and who is a patterns fan. It's something you need to evaluate before you buy because, frankly, you may already know most of what you are going to see.
28 of 30 people found the following review helpful
3.0 out of 5 stars Could be much better 8 Nov. 2004
By Long Islander - Published on Amazon.com
Format: Hardcover
Pros

Steven knows what he's talking about. All patterns are nicely organized. I really liked chapter introductions and summaries because they were at times much clearer than chapter content itself. Small typos here and there didn't bother me that much. Overall, the book is proof-read quite well.

Cons

Each chapter presents a number of challenges, or quizzes. They appear intermittently with text and therefore distract you from the discussion each time because their solutions are listed in the back and you have to flip back and forth to follow code.

In a couple of places Steven throws a quiz at you and afterwards presents the subject at hand. Normally, you present material first and then quiz. Doing it the other way around is quite a strange educational technique.

Steven is an author of a number book on Java, and it shows in his C# code. Nothing wrong with Java per se, but c'mon! For example, he refers to the book Concurrent Programming in Java as an excellent resource when discussing multithreaded programming in .NET.

The singleton implementation found in this book is downright wrong! It may lead to deadlocks and is not thread-safe. You can find a more efficient implementation of a singleton with a double-check lock at Microsoft's Patterns and Practices.

Conclusion

The book *is* valuable. I didn't think it was a waste of money. Still, it fails to be the best book on the subject of Design Patterns in C# around.
25 of 27 people found the following review helpful
5.0 out of 5 stars Concise, Readable, and Specific 13 April 2005
By Christopher Bennage - Published on Amazon.com
Format: Hardcover
I really liked this book.

My background was in VB6 and classic ASP, until just over two years ago. I was introduced to C# and I've never looked back.
Reading about C# best practices led me into design patterns and that naturally led me to this book. It was the first book I've read on patterns (aside from a few articles online.)

Concise - Metsker doesn't waste my time with unnecessary text (such as lame jokes or repetitive text). If I don't get something the first time, I go back and read it over.

Readable - The information in the book is dense, and there are certainly sections that may be confusing initially. However the book thoughtfully organized, the spacing and layout are comfortable, the author's voice reminiscent of a friendly college professor

Specific - His implementation of patterns take advantage of C# specific features. This is important, and I would not have recognized this without the input of C++ developer.</li>

In addition, this book helped to clarify a number of Object Oriented and Component Oriented concepts (such as delegates, interfaces, and iterators). Likewise, it shed light on the .NET FCL (streams and enumerators)

Regarding the exercises in the book; I was irritated with them at first, however I found that they were really useful for making the concepts stick once I quit being lazy. On the flipside, the book is quite useable even if you skip over them.

The only real negative is the metaphor of the fireworks company. It's not intuitive and it takes a while to sink in.
14 of 15 people found the following review helpful
4.0 out of 5 stars Bootstrap your fluency in C# 31 May 2004
By W Boudville - Published on Amazon.com
Format: Hardcover
C# is still a relatively new language. Certainly younger than Java or C++, which are the 2 most common OO languages. So chances are, some people coming to this book are still clumsy in C#. But I think it is also reasonable to say that if you are contemplating ANY book on design patterns, that you are fluent in at least one language.
Strictly, a purist might say that design patterns do not need to refer to a specific language. They are a level above code. But pragmatically, to understand them, it helps to instantiate examples in a language.
All this means that the book is good for an experienced developer who is still new to C#. You understand why design patterns are important. You can use the book to bootstrap your fluency in C# by studying the examples and tackling the supplied problems.
If you are indeed an experienced developer in another language, you might find the narrative more appealing than that in a Dummies-type book. The level of discussion that Metsker supplies is more advanced and challenging. More interesting.
Hey! He also gives answers to the problems.
9 of 9 people found the following review helpful
5.0 out of 5 stars A Pragmatic Approach to Design Patterns 1 May 2004
By John Vanderburg - Published on Amazon.com
Format: Hardcover
I've read several books on design patterns (including the classic "Gang of Four" work) and this is by far the best I've seen. What is unique about this book is its concise focus on the practical application of each of the 23 classic design patterns. The examples are short and can be written and tested quickly, yet cover real world programming issues that are encountered every day. "Challenges" (with solutions) are interspersed throughout the text to reinforce the concepts and help you bridge the gap between the specific example and a more general understanding.
If you've been fascinated with the elegance and power of design patterns, yet sometimes struggle with exactly how and where to apply them, then the "light" will go on after reading this book.
Get this book first, then grab the classic "Gang of Four" work. You'll find your understanding of both books and design patterns in general greatly enhanced.
Were these reviews helpful? Let us know


Feedback