Start reading Design Patterns on your Kindle in under a minute. Don't have a Kindle? Get your Kindle here.

Deliver to your Kindle or other device

 
 
 

Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Read books on your computer or other mobile devices with our FREE Kindle Reading Apps.
Sorry, this item is not available in
Image not available for
Color:
Image not available

To view this video download Flash Player

 

Design Patterns: Elements of Reusable Object-Oriented Software [Kindle Edition]

Erich Gamma , Richard Helm , Ralph Johnson , John Vlissides
4.5 out of 5 stars  See all reviews (324 customer reviews)

Digital List Price: $47.99 What's this?
Print List Price: $59.99
Kindle Price: $31.99 includes free wireless delivery via Amazon Whispernet
You Save: $28.00 (47%)

Formats

Amazon Price New from Used from
Kindle Edition $31.99  
Hardcover $47.99  
Paperback --  
Multimedia CD $32.04  
Shop the new tech.book(store)
New! Introducing the tech.book(store), a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Book Description

Capturing a wealth of experience about the design of object-oriented software, four top-notch designers present a catalog of simple and succinct solutions to commonly occurring design problems. Previously undocumented, these 23 patterns allow designers to create more flexible, elegant, and ultimately reusable designs without having to rediscover the design solutions themselves.

The authors begin by describing what patterns are and how they can help you design object-oriented software. They then go on to systematically name, explain, evaluate, and catalog recurring designs in object-oriented systems. With Design Patterns as your guide, you will learn how these important patterns fit into the software development process, and how you can leverage them to solve your own design problems most efficiently.

Each pattern describes the circumstances in which it is applicable, when it can be applied in view of other design constraints, and the consequences and trade-offs of using the pattern within a larger design. All patterns are compiled from real systems and are based on real-world examples. Each pattern also includes code that demonstrates how it may be implemented in object-oriented programming languages like C++ or Smalltalk.



Editorial Reviews

Amazon.com Review

With the profusion of technologies, it's rare to say that a particular book is required reading for developers. Design Patterns: Elements of Reusable Object Oriented Software is one of those indispensable texts for anyone who develops software using objects. This CD-ROM edition contains a hypertext version of the book, along with additional features that make it easy to use patterns in your own programs.

The CD-ROM works with any Java-enabled browser (Internet Explorer 4.0 and Netscape Communicator 4.0.) It includes the full text of the printed book along with the richness of hypertext links to get the most out of patterns quickly. (Two versions of the text, one for 640 x 480 resolution and one for higher resolutions, are provided.)

Patterns are higher-order designs, which occur repeatedly in object-oriented design. The heart of this title is the "pattern catalog" of 23 basic patterns, ranging from creational patterns, such as Factory and Builder, and structural patterns, such as Facade and Flyweight, to behavioral patterns, such as Command and Mediator. The CD-ROM details each design element along with reasons to use it and sample code in Smalltalk and C++. (With the online version, you can even cut and paste sample code into your programs.) You can use the Java search engine to search the CD-ROM for keywords, and the online version lets you cross-reference patterns easily. All in all, the Design Patterns CD is an appealing new version of one of the most essential texts for object-oriented developers.

Review

This book isn't an introduction to object-oriented technology or design. Many books already do a good job of that...this isn't an advanced treatise either. It's a book of design patterns that describe simple and elegant solutions to specific problems in object-oriented software design....Once you understand the design patterns and have had an "Aha!" (and not just a "Huh?" experience with them, you won't ever think about object-oriented design in the same way. You'll have insights that can make your own designs more flexible, modular, reusable, and understandable--which is why you're interested in object-oriented technology in the first place, right? -- From the Preface

This is one of the best written and wonderfully insightful books that I have read in a great long while...this book establishes the legitimacy of patterns in the best way: not by argument, but by example. -- C++ Report

Product Details

  • File Size: 8210 KB
  • Print Length: 416 pages
  • Simultaneous Device Usage: Up to 5 simultaneous devices, per publisher limits
  • Publisher: Addison-Wesley Professional; 1 edition (October 31, 1994)
  • Sold by: Amazon Digital Services, Inc.
  • Language: English
  • ASIN: B000SEIBB8
  • Text-to-Speech: Enabled
  • X-Ray: Enabled
  • Lending: Not Enabled
  • Amazon Best Sellers Rank: #13,912 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  • Would you like to give feedback on images?

Customer Reviews

I have read this book many times over. C. Pagnotta  |  64 reviewers made a similar statement
If you are a professional software developer, you must read this. Russell Belfer  |  53 reviewers made a similar statement
Most Helpful Customer Reviews
369 of 388 people found the following review helpful
5.0 out of 5 stars The best way to really learn object-oriented design March 6, 1997
By A Customer
Format:Hardcover
This book really changed my way of thinking about object-oriented design. The idea is that when designing a new class hierarchy, though implementation details may differ, you often find yourself using the same kinds of solutions over and over again. Rather than approaching each design task out of context as an individual, isolated problem, the strategy is to study the task and identify the underlying design pattern most likely to be applicable, and follow the class structure outlined by that pattern. It's a "cookbook" school of design that works amazingly well.

There are other advantages to this book. It isolates 23 of the most common patterns and presents them in detail. You wouldn't think that 23 patterns would be enough, but once you become adept at recognizing patterns, you'll find that a large fraction of the patterns you use in practice are among these 23. For each pattern, the book carefully presents the intent of the pattern, a motivating example, consequences of using that pattern, implementation considerations and pitfalls, sample code (C++ or Smalltalk), known uses of that pattern in real-world applications, and a list of related patterns.

Upon first reading, you will start to recognize these patterns in the frameworks you see. Upon second reading, you'll begin to see how these patterns can help you in your own designs, and may also start to see new patterns not listed in the book. Once you become familiar with the pattern concept, you will be able to originate your own patterns, which will serve you well in the future. One of the most valuable contributions of this book is that it is designed not merely to help you identify patterns, but to give you a sense of which patterns are appropriate in which contexts.

I think this book is particularly valuable to many C++ and Java programmers, because of the dynamic and flexible design philosophy it follows. (Its two fundamental principles of reusable OO design are: "Program to an interface, not an implementation" and "Favor object composition over class inheritance".) I've found that many C++ books unfortunately tend to emphasize a rather static and inflexible design philosophy. Many C++ programmers do not realize how the language and the books they've studied from have been limiting their thinking until they have been exposed to ideas from other lanugages. The authors of this book have obviously been influenced by other languages as well, especially Smalltalk, and have brought many of its best lessons to C++ design. Most Java books seem to take after the C++ books, even though Java is a more dynamic language. This book may help Java programmers take full advantage of the extra power offered by their language, if they look deeply enough into some of the lesser-known features its runtime system affords.

Last, but not least, this book is valuable because it names the patterns it uses, and so gives programmers a common vocabulary to describe design concepts, rather than particular implementations. You'll find yourself saying things like, "That would be a good use for a Decorator", or "Should we use a Facade or a Mediator in this case?" I encourage readers of this book to use this vocabulary with other programmers.

In summary, this is one of the few books that I think belongs on every programmer's "must-have" list. Not to overuse a cliche, but like object-oriented design itself, the pattern concept is one of those rare paradigm-shifts in computer programming. It is equally valuable to expert professional and novice student alike. The book has a home page at http://st-www.cs.uiuc.edu/users/patterns/DPBook/DPBook.html

Comment | 
Was this review helpful to you?
219 of 229 people found the following review helpful
4.0 out of 5 stars Must read, but requires some sophistication May 15, 2000
Format:Hardcover
As you probably already realize from the large number of reviews, this book is one of the seminal books on patterns in software development. If you are a professional software developer, you must read this. If you are learning to write good software, this is a book that you will need to take on at some point, but I urge some caution.

In particular, many of the patterns in this book represent highly distilled wisdom about effective solutions -- distilled so far that, unless you have implemented code that realizes the pattern in question already, you may have trouble absorbing the material. I find that programmers-to-be who dive into this book, often end up talking annoyingly about "applying patterns" without having a real grasp of how these things translate (with some distortion and compromise) into real projects.

That being said, an excellent way to bridge the gap is to read this book along with "Pattern Hatching : Design Patterns Applied" by John Vlissides. That book is a chatty companion piece for this one -- I found myself understanding how to incorporate patterns into my day-to-day design work much more after reading both books.

See: Pattern Hatching : Design Patterns Applied [also at Amazon.com]

Overall, while this book is an extremely important contribution to software developers, it is structured in a way that makes the material difficult to absorb if you aren't approaching it with substantial previous knowledge about developing software. You can start with some of the simpler patterns (Singleton, for example) and work through the harder ones, but only by implementing projects and stumbling upon these yourself will you really feel a flash of recognition as you read them in the book.

Comment | 
Was this review helpful to you?
285 of 308 people found the following review helpful
4.0 out of 5 stars Now that the hype is over... January 19, 2005
Format:Hardcover
... well, it's over. "Patterns" have not revolutionized the world. Nor does this book need to be "studied" for deep insights.

What it seems patterns are actually good for is giving common names to popular solutions to problems, to make them easier to call to mind, and easier to discuss with others. Even this much is overrated. Before the advent of patterns, you could have said "callbacks" and people would have understood. Now you say "the Observer pattern".

_Design Patterns_ is none the less valuable, because it is one of those few books that EVERYONE is expected to have read. This is helpful in practice, as you can expect everyone to be familiar with its vocabulary. Few books truly fall into this "required reading" category. The only other that comes to mind is the MIT algorithms text. Many tech pundits claim that every next book is "required reading", and the claim becomes tiring after a while, but this is one of the few that really is.

I would not necessarily purchase it, though. The "pattern" schematic is verbose, and requires pages upon pages to describe something that, once you have seen it in practice once or twice, you will recognize immediately. Omitting the appendixes, the book is barely 350 pages, and presents only 23 patterns. Only a handful of the patterns are truly famous: Singleton, Observer, Template Method ... perhaps a few more. A number of them are poorly presented. Chain of Responsibility, for instance, is just one of many ways to define an event framework and does not belong in a book that doesn't present the alternatives. Mediator is another; there must be dozens of ways to create a Mediator, which most people would call an "event registry" or something else, rather than a Mediator. "Mediator" itself is little more than a name, and won't help you in design.

Some patterns are boring, since modern languages tend to provide them, and we've heard about them many times already: Iterator, Proxy, Memento (serialization). Others, like Command, are geared towards GUIs, and provide little value to other types of applications. Then there are the State and Strategy patterns, which are two sides of the same coin, and needn't be given two different names.

And so on. Definitely do not "study" this book if it seems you "just don't get it". Chances are the book is wrong. It is worth a read through, and a second read through if the terminology doesn't stick the first time, but stop at that. My gut feeling is that this book is most appropriate for someone working on his or her first large project. After that, once the terminology sinks in, the book has little else to offer. And if taken dogmatically, or considered "inspired" or infallible, the book is a hindrance. Finally, overuse of patterns can result in a "kitchen sink" design, instead of a simple one that takes a few patterns, that may or may not be ones from this book, and implements them cleanly. Take the book for what it's worth, but remain skeptical.
Was this review helpful to you?
Most Recent Customer Reviews
5.0 out of 5 stars Excellent book for Design Patterns!!
I loved this book and I loved the object-oriented programming class I bought it for! It was a great class with a great professor and this book is wonderful in describing and... Read more
Published 11 days ago by crystallized
5.0 out of 5 stars Beyond Comparison
Some books really don't need ratings, this is one such book. Any experienced software developer should own a copy of this book and should have studied this book. Read more
Published 1 month ago by Keith S. Thomas
5.0 out of 5 stars The original source of Design Patterns
This book revolutionized the terminology and vocabulary over object oriented programming (OOP) almost two decades ago, including terms already dispersed in OO literature... Read more
Published 1 month ago by Claudio Rivera
5.0 out of 5 stars The Gang of Four: Better in ebook.
I did a complete reread of this book on my iPad using the Kindle app and a stylus to highlight. Now I can flip through and pick up the important pieces fast. Read more
Published 2 months ago by J. Williams
5.0 out of 5 stars A must have!
A good start to DPs, showing their role in software architectures and providing a structured and pragmatic reference to 23 DPs. Read more
Published 2 months ago by Stefano Dobrilla
5.0 out of 5 stars Great book for hard core software architects
I found this book an invaluable knowledge base for commonly occurring patterns we as software architects come across. Would have liked to see a sequel to this edition.
Published 2 months ago by Ardeshir Badr
4.0 out of 5 stars Great book, but difficult material
This book contains all of the standard software design patterns. The examples are good but can be vague at times. Otherwise, this book is a must have for software developers!
Published 3 months ago by Sean Zicari
5.0 out of 5 stars IT Team Loved it
I bought this book based on a recommendation from a friend for my IT group. They read the book in a week and talked about it and its concepts for ever! Read more
Published 3 months ago by Marcos Luciano
5.0 out of 5 stars Most important and fundamental book
I teach OOP and OOD for several semesters now. I knew, ofcourse, about design patterns and the GoF, but somehow never had the chance to read this book. Read more
Published 3 months ago by Shay Tavor
5.0 out of 5 stars Timeless classic
This book will forever stand as a foundation of software development. The example code is getting a bit dated, but the priniciples are the important part, and they are just as... Read more
Published 3 months ago by Bryan Pugh
Search Customer Reviews
Only search this product's reviews

Book Extras from the Shelfari Community

(What's this?)

To add, correct, or read more Book Extras for Design Patterns , visit Shelfari, an Amazon.com company.


More About the Authors

Discover books, learn about writers, read author blogs, and more.

What Other Items Do Customers Buy After Viewing This Item?



Customer Questions & Answers
Be the first to ask a question that you have.
Please make sure that your post is a question about the product. Edit your question or post anyway.
Typical questions asked about products:
 - Is the item durable?
 - Is this item easy to use?
 - What are the dimensions of this item?


So You'd Like to...


Create a guide

Look for Similar Items by Category