Login   Register  
PHP Classes
elePHPant
Icontem

Class: Cache variables

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Piotrek M  >  Cache variables  >  Download .tar.gz .zip  >  Support forum Support forum (1)  >  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
Related classes: , , , , ,
Version: 1.0
PHP version: 5.0
License: GNU General Public License (GPL)
All time users: 930 users
All time rank: 3122
Week users: 2 users
Week rank: 1665
Picture of Piotrek M
Author: Piotrek M <e-mail contact>
Packages: 2 Browse this author's classes Browse this author's classes
Country: Poland Poland - PHP jobs in Poland
Age: 17
All time rank: 177542 in Poland Poland
Week rank: 1257 Up32 in Poland Poland Up
Innovation award
Innovation award
Nominee: 1x


  Detailed description  
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.

 

  Groups  
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

  Rate classes User ratings   Applications   Files Files  

  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  
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 cache.class.php Class cache
Plain text file example Example example use

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.