Login   Register  
PHP Classes
elePHPant
Icontem

Class: cache

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Shaun Thomas  >  cache  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: cache
Base name: 256
Description: The Buffer class was created with the desire to be able to capture all
Related classes: , , , , , ,
Version: -
PHP version: -
License: Unspecified (ask the author)
All time users: 1132 users
All time rank: 2713
Week users: 0 users
Week rank: 2770
Picture of Shaun Thomas
Author: Shaun Thomas <e-mail contact>
Packages: 1 Browse this author's classes Browse this author's classes
Country: United States United States - PHP jobs in United States
Age: ???
All time rank: 1712232 in United States United States
Week rank: 2242 Down284 in United States United States Down


  Detailed description  
The Buffer class was created with the desire to be able to capture all
print statements for easy buffering. Essentially this class is just
a wrapper for the ob PHP functions. I have added the ability to do
inline str_replaces in the buffer in case anyone wants to use this
class in a template system.

This lets a template system print directly to PHP's output buffer and
modify the results. This keeps the programmer from having to maintain
a gigantic string object through their code.

The cache class compliments this by allowing the generated buffer text
to be saved directly to a file generated and maintained by the cache
class. Using the example file, all cached pages are regenerated upon
expiration, massively reducing the load on database or computationaly
heavy pages.

This and other projects available from:
http://www.kildosphere.com/projects

 

  Groups  
Group folder image Utilities and Tools General purpose tools to simplify software development View top rated classes

  Rate classes User ratings   Applications   Files Files  

  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 buffer.inc ??? Buffer Class
Plain text file cache.inc ??? Cache Class
Plain text file usage.txt ??? How to Use The Classes

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