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!
  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 (15 years ago) RSS 2.0 feedStarStarStar 54%Total: 1,213 All time: 3,034 This week: 871Up
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

  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,213
This week:0
All time:3,034
This week:871Up
 User Ratings  
 
 All time
Utility:91%StarStarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:54%StarStarStar
Rank:1721