this print for content only—size & color not accurate
spine = 0.9682" 512 page count
Books for professionals By professionals®
PHP Objects, Patterns, and Practice SecOnd editiOn
In recent years, PHP has embraced the object-oriented revolution, both in
terms of usage patterns and language features. Still, though, most books about
object-oriented design focus on languages like Java and C++. But one of the nice
things about designing with objects is how concepts can travel among languages. In
this book, I explore object-oriented programming and design from the standpoint
of a PHP programmer.
I begin with an overview of PHP’s object-oriented features, introducing key
topics like class declaration, object instantiation, inheritance, and method
and property encapsulation. You’ll also learn about advanced topics including
static methods and properties, abstract classes, interfaces, exception handling,
object cloning, and more. You’ll benefit from an extensive discussion of best
practices in object-oriented design too.
The next part of this book is devoted to design patterns, a subject that naturally
complements object orientation. I introduce pattern concepts and show you
how to implement several key patterns in your PHP applications, and I include
chapters on enterprise and database patterns.
In the last segment of this book, I introduce a number of great utilities that
help you document, manage, test, and build your PHP applications, including
Phing, PHPUnit2, PHPDocumentor, PEAR, and CVS.
I wrote PHP Objects, Patterns, and Practice to give you the kind of help I
would have liked when I first discovered object-oriented programming and
design patterns, since I learned a lot of lessons the hard way, in both code
design and good project practice.
SAMS Teach Yourself PHP
in 24 Hours
PHPThe eXperT’s Voice® in open source