In most cases, the implementation of the active record pattern in PHP (and other programming languages too) is carried out through a few data mapper objects, which are used to perform CRUD operations on a group of targeted database tables. This seven-part article series describes the advantages of using the active record pattern in a variety of situations, and shows you how to do it.
- Introduction
While an approach like the one described above permits to reach a high level of SQL abstraction when accessing databases, the truth is that its also possible to apply the active record approach by means of a single database class, which encapsulates within its API all the logic require…






