PHP 5's object-oriented enhancements are among the most significant improvements in the 10+ year history of the language. This book introduces you to those new features and the many opportunities they provide, as well as a number of tools that will help you maximize development efforts.
Chapter 8 -- Some Pattern Principles -- of PHP 5 Objects, Patterns, and Practice covers four basic topics: decoupling, composition, pattern categories and the power of the interface.
Chapter 8, "Some Pattern Principles," is excerpted from PHP 5 Objects, Patterns, and Practice by Matt Zandstra, published in December 2004 by Apress (ISBN: 1-59059-380-4). Copyright © 2004, Apress. All rights reserved. Reprinted with permission by Apress.
This was first published in September 2006