PHP Classes

Classes of Shaun Thomas

Recommend this page to a friend!
  All class groups  >  All authors  >  Classes of Shaun Thomas (1)  >  Mission progress status  >  Reputation  
Picture of Shaun Thomas
Name: Shaun Thomas <contact>
Classes: 1
Country: United States United States
Age: ???
All time rank: 2099297 in United States United States
Week rank: 216 Up24 in United States United States Up
All time users: 1220
Week users: 0
 
  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  
  Files folder image cache  
The Buffer class was created with the desire to be able to capture all
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
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: 91% 83% - - - - 54% 2122
Month: Not yet rated by the users


  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z