Login   Register  
PHP Classes

Cache variables: Cache variable values in PHP scripts

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

  Author Author  
Picture of Piotrek M
Name: Piotrek M <contact>
Classes: 3 packages by
Country: Poland Poland
Age: 20
All time rank: 114129 in Poland Poland
Week rank: 1102 Up29 in Poland Poland Equal
Innovation award
Innovation award
Nominee: 1x

  Detailed description   Download Download .zip .tar.gz  
This class can be used to cache variable values in PHP scripts.

It can take the value of a variable and generate a cache file, if it does not exist already, that is PHP script that assigns the variable value.

The class can also load variable value from the cache file script if it exists and it is not expired.

The cache file may be invalidated by removing the cache file script.

  Classes of Piotrek M  >  Cache variables  >  Download Download .zip .tar.gz  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Cache variables
Base name: cache-variables
Description: Cache variable values in PHP scripts
Version: 1.0
PHP version: 5.0
License: GNU General Public License (GPL)
All time users: 1583 users
All time rank: 2264
Week users: 1 user
Week rank: 1432 Up
  Groups   Rate classes User ratings   Applications   Files Files  

Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Cache Classes for managing cached pages View top rated classes
Group folder image Code Generation Compilers and tools that generate code automatically View top rated classes

  Innovation Award  
PHP Programming Innovation award nominee
January 2010
Number 10
Sometimes it is necessary to store the results of an intensive processing job in a cache storage, so it can be reused many times without having to go through the same intensive processing job again.

This class provides a solution for storing the values of variables that result from a processing job.

It generates a PHP script file that assigns the values of the variables. This way it can be loaded much faster using a PHP opcode cache extension that may be available under the current PHP installation.

Manuel Lemos

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Good (91%) Good (87%) - Good (83%) - - Sufficient (62%) 643
Month: Not enough user ratings

  Applications that use this package  
No pages of applications that use this class were specified.
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 cache.class.php Class cache
Accessible without login Plain text file example Example example use

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