Login   Register  
PHP Classes
elePHPant
Icontem

Cache variables

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

  Author  
Picture of Piotrek M
Name: Piotrek M <e-mail contact>
Packages: 3 Browse all classes by Piotrek M Browse all classes by
Country: Poland Poland - PHP jobs in Poland
Age: 19
All time rank: 120230 in Poland Poland
Week rank: 393 Up16 in Poland Poland Up
Innovation award
Innovation award
Nominee: 1x


  Detailed description   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 .zip .tar.gz  >  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
Version: 1.0
PHP version: 5.0
License: GNU General Public License (GPL)
All time users: 1348 users
All time rank: 2517
Week users: 6 users
Week rank: 401 Up
 
  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 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  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Perfect (100.0%)
Good (91.7%)
-
Good (91.7%)
-
-
Sufficient (68.3%)
290
Month:
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 cache.class.php Class cache
Accessible without login 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.