Home arrow PHP arrow PHP MVC Framework: the Cache Class

PHP MVC Framework: the Cache Class

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.

TABLE OF CONTENTS:
  1. PHP MVC Framework: the Cache Class
  2. Review: the sample application
  3. Caching database result sets
  4. The user controller class
By: Alejandro Gervasio
Rating: starstarstarstarstar / 2
July 12, 2010

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

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!



 
 
>>> More PHP Articles          >>> More By Alejandro Gervasio
 

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort
   

PHP ARTICLES

- Hackers Compromise PHP Sites to Launch Attac...
- Red Hat, Zend Form OpenShift PaaS Alliance
- PHP IDE News
- BCD, Zend Extend PHP Partnership
- PHP FAQ Highlight
- PHP Creator Didn't Set Out to Create a Langu...
- PHP Trends Revealed in Zend Study
- PHP: Best Methods for Running Scheduled Jobs
- PHP Array Functions: array_change_key_case
- PHP array_combine Function
- PHP array_chunk Function
- PHP Closures as View Helpers: Lazy-Loading F...
- Using PHP Closures as View Helpers
- PHP File and Operating System Program Execut...
- PHP: Effects of Wrapping Code in Class Const...

Developer Shed Affiliates

 


Dev Shed Tutorial Topics: