This book starts with an introduction to Design Patterns, describes their use and importance, and details where you've seen them already. It continues through a host of Design Patterns with code examples and explanations. Finally, an in–depth case study shows you how to plan your next application using Design Patterns, how to program those patterns in PHP, and how to revise and refactor an existing block of code using Design Patterns from the book. The author approaches the concepts in technical yet usable formats that are familiar to both programmers who are self–taught and those with more extensive formal education.
What you will learn from this book
What Design Patterns are and why they matter in PHP
Commonly established PHP Library usage of Design Patterns
Faster and more efficient object creation with Design Patterns like Builder, Façade, Prototype and Template
Decoupled architecture using Data Access Object and Proxy Design Patterns
Better code flow and control using the Delegate, Factory and Singleton Design Patterns
How to implement Visitor and Decorator Design Patterns to enhance objects without modifying their core
Comprehensive plug–in creation techniques using Observer Design Pattern
How to plan application architecture using Design Patterns
How to program a case study web site from start to finish with Design Pattern based coding
How to recognize architectural benefits from Design Patterns in an existing application
Methods to further strengthen code from case study analysis
Who this book is for
This book is for experienced PHP programmers who are looking to enhance the quality of their code architecture with Design Patterns.
Wrox Professional guides are planned and written by working programmers to meet the real–world needs of programmers, developers, and IT professionals. Focused and relevant, they address the issues technology professionals face every day. They provide examples, practical solutions, and expert education in new technologies, all designed to help programmers do a better job.
Updates, source code, and Wrox technical support at www.wrox.com
Part I: Getting Acquainted with Design Patterns and PHP.
Chapter 1: Understanding Design Patterns.
Chapter 2: Using Tools Already In Your Arsenal.
Part II: Reference Material.
Chapter 3: Adapter Pattern.
Chapter 4: Builder Pattern.
Chapter 5: Data Access Object Pattern.
Chapter 6: Decorator Pattern.
Chapter 7: Delegate Pattern.
Chapter 8: Façade Pattern.
Chapter 9: Factory Pattern.
Chapter 10: Interpreter Pattern.
Chapter 11: Iterator Pattern.
Chapter 12: Mediator Pattern.
Chapter 13: Observer Pattern.
Chapter 14: Prototype Pattern.
Chapter 15: Proxy Pattern.
Chapter 16: Singleton Pattern.
Chapter 17: Strategy Pattern.
Chapter 18: Template Pattern.
Chapter 19: Visitor Pattern.
Part III: PHP Design Case Study.
Chapter 20: Requirements Analysis.
Chapter 21: Choosing Design Patterns and Planning.
Chapter 22: Programming the Application.
Chapter 23: Improving with More Design Patterns.
Utilizziamo i cookie di profilazione, anche di terze parti, per migliorare la navigazione, per fornire servizi e proporti pubblicità in linea con le tue preferenze. Se vuoi saperne di più o negare il consenso a tutti o ad alcuni cookie clicca qui. Chiudendo questo banner o proseguendo nella navigazione acconsenti all’uso dei cookie.