On DevShed.com today, there's a new tutorial posted (part 3 in the "Caching" series) that seeks to help you improve upon the simple caching class they've helped you develop in part one and two.
This is the third chapter of the series "Caching result sets in PHP." Welcome back. If you’ve been traveling the procedural road within your PHP applications for a while, I hope that the result set caching solution developed in the second part of this series has been useful enough for you to start building an expandable caching system.
While procedural caching may be well-suited for small and even medium-sized applications, the picture changes for large projects. That's when object-oriented approaches come into their own. This article focuses on developing an object-based extensible caching solution.
They look at the procedural caching solution they've created up until now, and make the jump to the OOP version, creating a simple class to do the same things. Then they wrap it all up with a few more methods in the class, just to round things out - like fetchRow/fetchAll/countRows...




