This is an excerpt from Manning's book PHP in Action: Objects, Design, Agility. Login to get full access to this book.
Figure 19.1. Typical conceptual structure for object-oriented database querying