Categorized | Web Development

Refactoring the MySQL Abstraction Class with the Active Record Pattern

In this group of articles youll be provided with an approachable guide to building a database accessing class that will use the programming model imposed by the active record pattern for performing raw CRUD operations on a group of selected MySQL tables, and for fetching database records by using the WHERE, LIKE and LIMIT clauses as well. This is the sixth part of a seven-part series.
- Introduction

When it comes to implementing the active record design pattern with PHP, in most cases data mapper objects are used to interact with a certain number of databases. Generally, these objects act like a single, unified interface that can be used to perform CRUD tasks (Create, Retrieve, …

Read More




This post was written by:

Zacky - who has written 73 posts on Indometric.


Contact the author

Leave a Reply