Cover image for Professional PHP Design Patterns.
Professional PHP Design Patterns.
Title:
Professional PHP Design Patterns.
Author:
Saray, Aaron.
ISBN:
9780470567470
Personal Author:
Edition:
1st ed.
Physical Description:
1 online resource (312 pages)
Contents:
Professional PHP Design Patterns -- About the Author -- Acknowledgments -- Contents -- Introduction -- Who This Book Is For -- How This Book Is Structured -- What You Need to Use This Book -- Conventions -- Source Code -- Errata -- p2p.wrox.com -- Part I: Getting Acquainted with Design Patterns and PHP -- Chapter 1: Understanding Design Patterns -- What Are They? -- What Design Patterns Are Not -- Design Pattern Demonstration -- Why Use Design Patterns in PHP? -- Summary -- Chapter 2: Using Tools Already In Your Arsenal -- Patterns in Existing Frameworks -- The Standard PHP Library -- Using Eclipse PDT with Patterns -- Summary -- Part II: Reference Material -- Chapter 3: Adapter Pattern -- Problem and Solution -- UML -- Code Examples -- Chapter 4: Builder Pattern -- Problem and Solution -- UML -- Code Example -- Chapter 5: Data Access Object Pattern -- Problem and Solution -- UML -- Code Example -- Chapter 6: Decorator Pattern -- Problem and Solution -- UML -- Code Example -- Chapter 7: Delegate Pattern -- Problem and Solution -- UML -- Code Example -- Chapter 8: Façade Pattern -- Problem and Solution -- UML -- Code Example -- Chapter 9: Factory Pattern -- Problem and Solution -- UML -- Code Example -- Chapter 10: Interpreter Pattern -- Problem and Solution -- UML -- Code Example -- Chapter 11: Iterator Pattern -- Problem and Solution -- UML -- Code Example -- Chapter 12: Mediator Pattern -- Problem and Solution -- UML -- Code Example -- Chapter 13: Observer Pattern -- Problem and Solution -- UML -- Code Example -- Chapter 14: Prototype Pattern -- Problem and Solution -- UML -- Code Example -- Chapter 15: Proxy Pattern -- Problem and Solution -- UML -- Code Example -- Chapter 16: Singleton Pattern -- Problem and Solution -- UML -- Code Example -- Chapter 17: Strategy Pattern -- Problem and Solution -- UML -- Code Example.

Chapter 18: Template Pattern -- Problem and Solution -- UML -- Code Example -- Chapter 19: Visitor Pattern -- Problem and Solution -- UML -- Code Example -- Part III: PHP Design Case Study -- Chapter 20: Requirements Analysis -- Initial Requirements -- Initial Requirements Analysis -- Updated Requirements Document -- Updated Requirements Discussion -- Summary -- Chapter 21: Choosing Design Patterns and Planning -- Designing the Core -- Designing User Interaction -- Designing Contact Administration -- Summary -- Chapter 22: Programming the Application -- Information Preparation -- Application Programming -- Summary -- Chapter 23: Improving with More Design Patterns -- Working with Contacts Import -- Removing Logic from Views -- Try Implementing Design Patterns -- Summary -- Index.
Abstract:
PHP is often considered to be the cornerstone for buildingflexible and feature-rich web applications. Because of its relatively simple initial learning curve, newer programmers can easily create applications in PHP from the ground up. As these applications scale, however, the maintenance can seem daunting. Luckily, the mature programming community has something to offer: Design Patterns. These repeatable solutions for common problems have been applied for years to other programming languages. This book aims to bridge the gap between the PHP and the older programming language by applying those tried and tested Design Patterns to native PHP applications. 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.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: