PHP Classes

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    
Ratings Unique User Downloads Download Rankings
StarStarStar 54%Total: 1,220 This week: 1All time: 3,124 This week: 560Up
Version License Categories
1.0Unspecified (ask ...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: 2098297 in United States United States
Week rank: 416 Up46 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,220
This week:1
All time:3,124
This week:560Up
 User Ratings  
 
 All time
Utility:91%StarStarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:54%StarStarStar
Rank:2097