PHP Classes
elePHPant
Icontem

cache: The Buffer class was created with the desire to be able to capture all

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2001-06-07 (14 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,205 All time: 2,973 This week: 1,093Up
Version License Categories  
1.0Unspecified (ask ...Utilities and Tools
Description Author  

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

Picture of Shaun Thomas
Name: Shaun Thomas <contact>
Classes: 1 package by
Country: United States United States
Age: ???
All time rank: 1962253 in United States United States
Week rank: 1621 Up186 in United States United States Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file buffer.inc ??? Buffer Class
Accessible without login Plain text file cache.inc ??? Cache Class
Accessible without login Plain text file usage.txt ??? How to Use The Classes

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,205All time:2,973
 This week:0This week:1,093Up