April 14th, 2009, 08:00 AM
The mysqli Extension and the Active Record Pattern
The active record pattern allows you to access records in a database by means of a unified interface, generally composed of a few data mapper objects. However, as with other popular design patterns, there are several methodologies for implementing it within an object-oriented application, all of which can be used to obtain similar results. In this group of articles, I demonstrate how to progressively build a MySQL abstraction class that uses the active record approach for performing CRUD operations (Create, Retrieve, Update, Delete) on the records of a selected database table.
Read the full article here: The mysqli Extension and the Active Record Pattern
For more discussion go here: Blog Article Discussion