Introduction Now that you’re aware of the main goal of this group of tutorials, it’s time to review the topics we covered in the last article. In that part, I walked you through the development of a basic MySQL abstraction class, which was capable of fetching, inserting, updating and deleting database records (also known as CRUD operations) by means of the active record approach. Basically, this implied that the MySQL-accessing class was provided with the capability for running all of these queries without the need to manually code the corresponding SQL clauses, a feature that helped to abstract SQL code. However, as you may have guessed, there’s plenty of room for enhancing the functionality of this simple class. With that idea in mind, in this third chapter of the series I’m going to show you how to add a new method to the class. It will be charged with executing conditional SELECT statements via a modified version of the active record pattern. Now, with the preliminaries out of our way, it’s time to dig deeper into this interesting topic. Let’s get going!
blog comments powered by Disqus |