16 of 19 people found the following review helpful
An excellent primer on design patterns in PHP,
Verified Purchase(What's this?)
This review is from: php|architect's Guide to PHP Design Patterns (Paperback)
While you can do much better for a first book on design patterns if you are new to the topic (get O'Reilly's Head First Design Patterns), this book is a must-have for learning common patterns to problems PHP developers face.
A great strength of the book is the author's clear devotion to the other practices like test driven development and UML. These things do not get in the way of the book's intent; Sweat gives you code example after code example, and what could be better in a programming book?
Some reviewers are quick to jump on things like typos (there are a few) but grammar aside it's clear the author poured a lot of devotion into this book.
I also like that the book introduced me to patterns that are not covered in Head First or the Gang Of Four book, like the emminently useful Registry Pattern; there are also patterns to solve particular problems for the language, like the Value Pattern. If you've picked up a design patterns book in the past and were put off because all the examples are in Java, you owe it to yourself and your craft to pick this title up.
Next I want to see a book called "Refactoring PHP To Patterns"!!