PHP Classes

CachedFastTemplate: Simple class extending CDI's Fastemplate Class

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 39%Total: 5,825 All time: 401 This week: 488Down
Version License Categories
cachedfasttemplate 1.0GNU General Publi...HTML, Cache, Templates
Description 

Author

Simple class extending CDI's Fastemplate Class (www.thewebmasters.net).
Implements methods to cache pages created from documents, allowing
different pages to have assigned different cache lifetimes.
GPL'ed code (see www.fsf.org)
It requires the FastTemplate package.

[UPDATE 2000-06-07] Modified the logic to decide the validity of a cached file

(thanks to Aaron Bush <abush@microcenter.com> for some of the code and for suggestions),
and also changed the logic for the cached lifetime, allowing the use of seconds/minutes/hours/days as
units of time, which should give some more flexibility on deciding caching on
a per-file basis. The example (test.php) has been changed to reflect the changes in the
cache validation logic.

[Note] See also the Generalized CachedTemplate class that is an enhancement of this one. I will discontinue development of the class here in favor of the more generalized class approach.

Picture of Jesus M. Castagnetto
Name: Jesus M. Castagnetto <contact>
Classes: 4 packages by
Country: ???
Age: ???
All time rank: 205
Week rank: 164 Up

  Files folder image Files (2)  
File Role Description
Accessible without login Plain text file class.CachedFastTemplate.php ??? Class allowing caching of Fastemplate based pages
Accessible without login Plain text file test.php ??? Simple script showing the use of the CachedFastTemplate class

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:5,825
This week:0
All time:401
This week:488Down
User Ratings User Comments (2)
 All time
Utility:66%StarStarStarStar
Consistency:62%StarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:39%StarStar
Rank:3884
 
x
12 years ago (nikesh)
40%StarStarStar
Excellent
15 years ago (kishore kumar)
60%StarStarStarStar