Mastering PHP Design Patterns
上QQ阅读APP看书,第一时间看更新

What this book covers

Chapter 1, Why "Good PHP Developer" Isn't an Oxymoron, introduces the concept of design patterns as recurring solutions to commonly arising problems.

Chapter 2, Anti-Patterns, introduces how patterns can lead to decidedly negative consequences.

Chapter 3, Creational Design Patterns, discusses Gang of Four design patterns, namely those surrounding object creation.

Chapter 4, Structural Design Patterns, covers how multiple classes and objects can be combined to deliver a clearer interface.

Chapter 5, Behavioral Design Patterns, explains how to increase the flexibility of communication between objects by identifying patterns that can help with communication between them.

Chapter 6, Architectural Patterns, revolves around resolving common issues related to the architecture of a web application/system, potentially outside the code base itself.

Chapter 7, Refactoring, shows how to redesign code that has already been written to improve maintainability.

Chapter 8, How to Write Better Code, covers a range of concepts that haven’t been discussed elsewhere, and it also concludes with some advice for developers.