| Login | Register | |||
| Recommend this page to a friend! |
| Classes of Shaun Thomas | > | cache | > | Download | > | > | > | |||||
|
|||||||||||||||||||||||
| Author | Detailed description | |||||
| Applications | ||||||
Author
Groups
Detailed descriptionThe 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 User ratings
Applications that use this classNo application links were specified for this class.
Files
|
| Copyright (c) Icontem 1999-2009 | PHP Classes | - PHP Class Scripts |
| PHP Book Reviews | - Reviews of books and other products |