Login   Register  
PHP Classes
elePHPant
Icontem

RS Cache

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of V. Yanson  >  RS Cache  >  Download .tar.gz .zip  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: RS Cache
Base name: rscache
Description: Store and retrieve variables from cache files
Related classes: ,
Version: -
PHP version: -
License: Free for non-commercial use
All time users: 578 users
All time rank: 4270
Week users: 0 users
Week rank: 2356
 

  Author  
Picture of V. Yanson
Name: V. Yanson <e-mail contact>
Packages: 8 Browse all classes by V. Yanson Browse all classes by
Country: United States United States - PHP jobs in United States
Age: 26
All time rank: 50161 in United States United States
Week rank: 817 Down80 in United States United States Down
Innovation award
Innovation award
Nominee: 1x


  Detailed description  
This class can be used to store and retrieve variables in cache files.

It provides a function to store the value of a variable of any type in a file of a given folder.

The file name is determined by a given unique identifier and an integer number that indicates the time when the cache file was created.

The class also provides a function to retrieve the cached variable value given its original unique identifier.

The cache life time limit is configurable. If it has already elapsed the life time limit when a cached variable is retrieved, the cache retrieval function returns false.

The class also provides a function to delete the cache files stored in the current cache folder.

  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image Cache Classes for managing cached pages View top rated classes
Group folder image Data types Modeling and manipulating data types View top rated classes


  User ratings  
There are not enough user ratings to display for this class.

  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 cached_mysql_query.php Example Small script to show how you can implement the rscache class to cache mysql queries. Should only be implemented with SELECT queries.
Plain text file rscache.php Class Cache class itself

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