PHP Objects, Patterns, and Practice

Front Cover
Apress, Apr 5, 2008 - Computers - 487 pages

Backed by a tireless development community, PHP has been a model of language evolution over its 10+ year history. Borne from a contract developer’s pet project, these days you’ll find PHP powering many of the world’s largest web sites, including Yahoo!, Digg, EA Games, and Lycos.

PHP Objects, Patterns, and Practice, Second Edition shows you how to meld the power of PHP with the sound enterprise development techniques embraced by professional programmers. Going well beyond the basics of object–oriented development, you’ll learn about advanced topics such as working with static methods and properties, abstract classes, interfaces, design patterns, exception handling, and more. You’ll also be exposed to key tools such as PEAR, CVS, Phing, and phpDocumentor.

 

Contents

Design and Management
3
CHAPTER
6
Patterns
7
Objects
10
CHAPTER
11
Practice
14
CHAPTER
15
Object Basics
17
Decoupling
135
Generating Objects
141
Patterns for Flexible Object Programming
167
Performing and Representing Tasks
187
Summary
221
Enterprise Patterns
223
The Presentation Layer
237
The Business Logic Layer
267

CHAPTER
18
Advanced Features
45
Object Tools
71
CHAPTER 10
86
Objects and Design
97
Polymorphism
104
Summary
118
Patterns
120
Some Pattern Principles
129
Database Patterns
277
Practice
320
Testing with PHPUnit
391
A Note of Caution
409
Summary
432
Conclusion
433
Appendixes
444
INDEX
471
Copyright

Other editions - View all

Common terms and phrases

About the author (2008)

Matt Zandstra has worked as a web programmer, consultant, and writer for nearly two decades. He is the author of SAMS Teach Yourself PHP in 24 Hours (three editions) and a contributor to DHTML Unleashed. He has written articles for Linux Magazine, Zend.com, IBM DeveloperWorks, and php|architect Magazine, among others. Matt works as a consultant advising companies on their architectures and system management, and also develops systems primarily with PHP, and Java. Matt also writes fiction.

Bibliographic information