Welcome to the final installment of a series that shows you how to build a simple MVC-based framework in PHP 5. This series walks you in a step-by-step fashion through the development of a stack of reusable components, which can be easily put to work together under a strict MVC-based layer.
Learning how to implement the Model-View-Controller design pattern within a real-world project can be of great help in sharpening the skills of any web developer who wants to be in touch with modern software programming trends.
So, if youíre a PHP coder who wants to grasp the key concepts that surround the implementation of this architectural pattern by building a basic, extensible framework, youíve come to the right place.
Of course, if youíve been a loyal follower of this series and have read all of the tutorials that precede this one, then you now have a thorough background in how to use the aforementioned MVC framework for building a trivial MySQL-driven application. This application is capable of performing CRUD operations on a database table containing user-related data.
Whatís more, in the penultimate chapter I finished building the application by adding to it the pair of view files required to display on screen the list of users stored in the database, and to render an HTML form that collects data on new users.
While the application currently performs quite well, itís possible to improve it further by enabling it to cache result sets via the cache class that was built in a previous chapter (you remember that class, right?). Therefore, in this last tutorial of the series Iím going to demonstrate how to use the frameworkís cache class to improve the performance of this sample application.
Now, letís tackle this final leg of our educational journey. Letís get going!