Home arrow PHP arrow Caching Result Sets in PHP: Implementing the Caching System in PHP 5

Caching Result Sets in PHP: Implementing the Caching System in PHP 5

Welcome to the final part of the series “Caching Result Sets in PHP.” Hopefully, the last chapter of this tutorial will help you to put together all of the classes developed in the previous part, and demonstrate how the complete caching system can be implemented in a PHP 5 controlled environment.

TABLE OF CONTENTS:
  1. Caching Result Sets in PHP: Implementing the Caching System in PHP 5
  2. Caching result sets in an PHP 5 scenario: a detailed look at the “Cache” class
  3. Traversing an array structure: developing an array Iterator
  4. Completing the caching application: assembling the relevant classes
  5. A practical approximation: putting the caching application to work
By: Alejandro Gervasio
Rating: starstarstarstarstar / 6
November 07, 2005

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

As you probably remember, the developed caching application is essentially composed of several classes that have a delineated range of operations, instead of being structured as a huge wealth of packaged methods and properties that don’t keep a strong relationship with each other.

This methodology for developing a complex system, by splitting the whole application into many functional classes, definitely presents greater flexibility and portability, since each class acts like a programming entity capable of receiving and transferring processed data, and plugging itself into another class.

Based on some of the key concepts described above, I’ve built a result set caching class that aggregates a MySQL abstraction class, and utilizes an array processor (known commonly as an array Iterator) to carry out all of the array operations.

Of course, the underlying theory would be rather useless without writing the code to be used in real environments. Therefore, let’s get ready to tackle the final round and build the complete caching application. It’s going to be exciting!



 
 
>>> 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: