Learning PHP Design Patterns and over one million other books are available for Amazon Kindle. Learn more

Vous voulez voir cette page en français ? Cliquez ici.

Sign in to turn on 1-Click ordering.
Amazon Prime Free Trial required. Sign up when you check out. Learn More
More Buying Choices
Have one to sell? Sell yours here
Start reading Learning PHP Design Patterns on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Learning PHP Design Patterns [Paperback]

William Sanders

List Price: CDN$ 41.99
Price: CDN$ 26.30 & FREE Shipping. Details
You Save: CDN$ 15.69 (37%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Only 2 left in stock (more on the way).
Ships from and sold by Amazon.ca. Gift-wrap available.
Want it delivered Tuesday, August 26? Choose One-Day Shipping at checkout.


Amazon Price New from Used from
Kindle Edition CDN $16.33  
Paperback CDN $26.30  
Save Up to 90% on Textbooks
Hit the books in Amazon.ca's Textbook Store and save up to 90% on used textbooks and 35% on new textbooks. Learn more.
Join Amazon Student in Canada

Book Description

March 7 2013 1449344917 978-1449344917 1

Build server-side applications more efficiently—and improve your PHP programming skills in the process—by learning how to use design patterns in your code. This book shows you how to apply several object-oriented patterns through simple examples, and demonstrates many of them in full-fledged working applications.

Learn how these reusable patterns help you solve complex problems, organize object-oriented code, and revise a big project by only changing small parts. With Learning PHP Design Patterns, you’ll learn how to adopt a more sophisticated programming style and dramatically reduce development time.

  • Learn design pattern concepts, including how to select patterns to handle specific problems
  • Get an overview of object-oriented programming concepts such as composition, encapsulation, polymorphism, and inheritance
  • Apply creational design patterns to create pages dynamically, using a factory method instead of direct instantiation
  • Make changes to existing objects or structure without having to change the original code, using structural design patterns
  • Use behavioral patterns to help objects work together to perform tasks
  • Interact with MySQL, using behavioral patterns such as Proxy and Chain of Responsibility
  • Explore ways to use PHP’s built-in design pattern interfaces

Customers Who Bought This Item Also Bought

Product Details

Product Description

About the Author

Dr. William B. Sanders is a Professor of Multimedia Web Design and Development at the University of Hartford. He teaches courses in PHP, MySQL, C#, SQL, HTML5, CSS, and ActiionScript 3.0 among other Internet languages. He co-authored ActionScript 3.0 Design Patterns (O’Reilly, 2007) and has been actively working with design patterns in PHP for several years. He has published 45 computer and computer-related books, written software ranging from Basic to Assembly Language to Flash Media Server and served as a consultant and beta tester for different computer software companies including Macromedia and Adobe. He also is an Apple iOS Devloper.

Customer Reviews

There are no customer reviews yet on Amazon.ca
5 star
4 star
3 star
2 star
1 star
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com: 3.4 out of 5 stars  10 reviews
11 of 14 people found the following review helpful
2.0 out of 5 stars Overly Simplistic Examples Complicated with Needless Detail April 14 2013
By webdev - Published on Amazon.com
Format:Paperback|Verified Purchase
I was really looking forward to this book. But the exercises in each of the chapters make it hard to conceive how and when any of these patterns would be useful, and even harder to understand how to properly execute them in the real world.

Each of the patterns in the book contain very little functionality, but a ton of detail and abstraction that is unnecessary to teach the patterns' fundamentals.

While there is value in this book, digging through all the fluff may not be feasible use of your study time.
2 of 2 people found the following review helpful
4.0 out of 5 stars Excellent Explanations, not so good examples Dec 24 2013
By howlowck - Published on Amazon.com
Format:Paperback|Verified Purchase
I would echo some of the negative reviews that the code examples could be better in that they deviate from today's coding best practices. However, the code is not there to show how to build a web app; the code is there purely to illustrate a concept.

I found the book enlightening as the concepts are explained clearly.
8 of 11 people found the following review helpful
1.0 out of 5 stars Under the O'Reilly quality standards March 13 2013
By macjohn - Published on Amazon.com
This is the worst quality book of O'Reilly I've read. The author doesn't know how to explain what he try to explain. He endorses personal assumptions as universal truth. Some examples are examples of how you must not code. He gave methods names that has little relation with what the method is supposed to do. Explained patterns are arbitrarily chosen without any clue about the motivations. Not a book I would recommend to anybody.
3 of 4 people found the following review helpful
2.0 out of 5 stars Poor examples make this a below-average resource Nov. 16 2013
By Amazon Customer - Published on Amazon.com
This book does an okay job introducing the core concepts of object-oriented programming. Design patterns are introduced well, but the examples are so poor that they barely aid in comprehension. As someone who learns from reading code, this was a huge negative for me.

While the author tries to use simple examples, I feel they are too simple and contrived, and thus it's hard to understand real-world applications for the patterns. Code formatting is inconsistent and doesn't seem to follow any of the major standards. Some examples even violate best-practices and make testing difficult, such as the hard-coding of database connection info as interface constants. I worry that beginners will walk away with an incomplete or incorrect understanding, or that they'll adopt some of the negative practices used in the examples.

If you're new to PHP5 and object-oriented programming, this book might serve as a helpful overview. If you're more advanced, or looking for a "bible" of design patterns and best practices, it might be best to look elsewhere - even if the examples are not in PHP. I would not recommend this book for anyone who learns by example.
1 of 1 people found the following review helpful
4.0 out of 5 stars the book is worth to read if you have time Feb. 13 2014
By David S. James - Published on Amazon.com
Format:Kindle Edition|Verified Purchase
Not bad book but as it was written: the examples are terrible!!! They are badly selected so you simply do not understand why you do such simple thing that complicated way! If you have no enough experience (at least several years, better 5-10) then you will never understand much of this book. I found couple of interesting ideas which was worth to read whole book.

Look for similar items by category