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.

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

360 pages, Paperback

First published January 1, 2013

Loading...
Loading...

About the author

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 (19%)
4 stars
16 (21%)
3 stars
23 (31%)
2 stars
12 (16%)
1 star
8 (10%)
Displaying 1 - 1 of 1 review
379 reviews10 followers
September 14, 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.
Displaying 1 - 1 of 1 review