Overview of Contents

OOP is often described as an iterative process, and this is the approach we take in this book. We will develop working examples of classes in order to explore specific OO concepts and then return to improve these classes.

This book has sixteen chapters and two appendices. It is made up of three different sections. The first three chapters offer an introduction to OOP as implemented in PHP. Chapters 4 through 9 develop some useful classes that demonstrate the basic syntax and concepts of OOP. Code compatible with PHP 4 and PHP 5 is provided. The remainder of the book makes use of built-in classes available in PHP 5 only; consequently, there is no PHP 4–compatible code. A brief outline of each chapter is provided here.

Get Object-Oriented PHP now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.