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 features and the many opportunities they provide, as well as a number of tools that will help you maximize development efforts.
The book begins with a broad overview of PHP 5'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 also benefit from an extensive discussion regarding object-oriented design best practices.
The next part of the book is devoted to a topic that is often a natural extension of any object-oriented introduction: design patterns. PHP 5 is particularly well-suited to the deployment of these solutions for commonly occurring programming problems. The author will introduce pattern concepts and show you how to implement several key patterns in your PHP applications.
The last segment introduces a number of great utilities that help you document, manage, test, and build your PHP applications, including Phing, PHPUnit2, phpDocumentor, PEAR, and CVS.
Author(s): Matt Zandstra
Series: The expert’s voice in open source
Edition: 1
Publisher: Apress
Year: 2004
Language: English
Pages: 456
Tags: Software Engineering/Programming and Operating Systems
Front Matter....Pages N2-xvii
Front Matter....Pages 1-1
PHP: Design and Management....Pages 3-8
Front Matter....Pages 9-9
PHP and Objects....Pages 11-14
Object Basics....Pages 15-41
Advanced Features....Pages 43-67
Object Tools....Pages 69-91
Objects and Design....Pages 93-113
Front Matter....Pages 115-115
What Are Design Patterns? Why Use Them?....Pages 117-123
Some Pattern Principles....Pages 125-136
Generating Objects....Pages 137-161
Designing for Object Relations....Pages 163-184
Performing and Representing Tasks....Pages 185-218
Enterprise Patterns....Pages 219-289
Front Matter....Pages 291-291
Good (and Bad) Practice....Pages 293-306
An Introduction to PEAR....Pages 307-321
Generating Documentation with phpDocumentor....Pages 323-337
Version Control with CVS....Pages 339-358
Automated Build with Phing....Pages 359-379
Front Matter....Pages 381-381
Objects, Patterns, Practice....Pages 383-391
Back Matter....Pages 393-438