This document proposes a solution for mapping database records to PHP objects using data access objects (DAOs) and builder classes. The DAO contains SQL queries to retrieve data from the database and calls a builder class to assemble the returned records into PHP objects. This allows returning objects instead of arrays and enables object caching. Examples of a base DAO class and a BlogComment builder class are provided to demonstrate how this works.