Login   Register  
PHP Classes
elePHPant
Icontem

Item Cache

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Colin McKinnon
Name: Colin McKinnon <e-mail contact>
Packages: 3 Browse all classes by Colin McKinnon Browse all classes by
Country: United Kingdom United Kingdom - PHP jobs in United Kingdom
Age: ???
All time rank: 161368 in United Kingdom United Kingdom
Week rank: 2120 Down85 in United Kingdom United Kingdom Down
Innovation award
Innovation award
Nominee: 2x


  Detailed description   Download .zip .tar.gz  
This class can store and retrieve values in cache with support to underflow and overflow containers.

It can store a limited number of values with given keys in a cache array. When the cache size limit is reached, the class can call an external container overflow function to flush the oldest element in the class before it is removed.

The class can also retrieve values from the cache with given keys. When the requested value is not yet in the cache array, the class can call an external container underflow function to retrieve the value from a storage container.

A separate container class to store and retrieve values from a MySQL database.

  Classes of Colin McKinnon  >  Item Cache  >  Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Item Cache
Base name: item-cache
Description: Store values in cache with underflow and overflow
Version: 1.0
PHP version: 5.0
License: GNU Lesser General Public License (LGPL)
All time users: 337 users
All time rank: 5887
Week users: 0 users
Week rank: 2445 Equal
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Databases Database management, accessing and searching View top rated classes
Group folder image Cache Classes for managing cached pages View top rated classes


  User ratings  
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file backendExample.inc.php Class Integrating a backend I/O processor using MySQL
Plain text file itemCache.inc.php Class Class definition
Accessible without login Plain text file testItemCache.php Example Test class using random data

Download all files: item-cache.tar.gz item-cache.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.