Jump to ratings and reviews
Rate this book

Learning PHP Design Patterns

Rate this book
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.

360 pages, Paperback

First published January 1, 2013

21 people are currently reading
105 people want to read

About the author

William Sanders

6 books1 follower
Librarian Note:
There is more than one author in the Goodreads database with this name.

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
14 (18%)
4 stars
17 (22%)
3 stars
23 (31%)
2 stars
12 (16%)
1 star
8 (10%)
Displaying 1 - 6 of 6 reviews
379 reviews10 followers
September 19, 2013
Raramente capita di mettere il minimo dei voti a un libro O'Reilly...

Le spiegazioni sono quasi incomprensibili, le frasi inutilmente convolute, spesso messe in forma passiva o negativa (o addirittura con doppie negazioni), al punto da rendere stressante la lettura.

Gli esempi sono assurdi. Uno su tutti: usare un observer per propagare le modifiche a tre versioni del layout, quando si sarebbe potuto usare lo stesso esempio per uno strategy. Forse hanno senso in un altro linguaggio, ma non in PHP, e visto che si chiama "Learning PHP Design Patterns" e non "Learning Design Patterns", sono totalmente sbagliati. Altri sono talmente complicati che non si capisce nemmeno come funzionino. E la spiegazione è messa al contrario: a parte una inutile descrizione troppo astratta, prima mette il codice, e poi FORSE spiega perché fa certe cose. Non sempre. A volte nemmeno lo spiega.

Lasciatelo sullo scaffale.
Profile Image for Michael Sypes.
218 reviews2 followers
October 27, 2016
This book is only an "OK" introduction to these topics. Luckily I have a skilled colleague who was able to to further explain/clarify many of the concepts. The biggest problem with the book is that often the examples are very poor and don't really drive home the salient points. There are also a few example where the author presents too much detail of a possible implementation, including HTML & CSS for a form, which I found completely unnecessary for understanding how a pattern might be used for a problem.
The book did at least spark my interest in learning and understanding more about using patterns properly.
130 reviews25 followers
May 25, 2015
The book is probably OK, but during the fifth chapter I began questioning the use of object-oriented paradigm itself. I probably should disclose that I love Scala and JavaScript which both use a bit different paradigms, object-functional and Object-linked-to-other-objects with functional capabilities.
Profile Image for Adrian Mihai.
1 review2 followers
December 25, 2013
A bit too dry.. Liked the examples in Head First Into Design Patterns more.
25 reviews
November 19, 2015
Contrived examples, doesn't feel very thorough. Just read Design Patterns by Erich Gamma instead.
1 review
Read
February 15, 2013
how to read books
This entire review has been hidden because of spoilers.
Displaying 1 - 6 of 6 reviews

Can't find what you're looking for?

Get help and learn more about the design.