DevShed has the latest article in the "Caching Result Sets in PHP" series - "Porting the Code to PHP 5".
So, let’s not waste more time in preliminaries and jump straight into the code. You’ll have a good time reading, I promise.
In this part of the series, you will see in detail an updated version of each class that composes the caching system, for a correct implementation in PHP 5. Also, the "Cache" class will be modified to work with an array processor class that handles array operations. It should help refresh your memory of techniques related to object-oriented programming.
By the end of this part you'll have a good caching class under your belt, but keep an eye out for th next in the series - putting it all to work with a real-life example...




