Login   Register  
PHP Classes
elePHPant
Icontem

CachedFastTemplate

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Jesus M. Castagnetto
Name: Jesus M. Castagnetto <e-mail contact>
Packages: 4 Browse all classes by Jesus M. Castagnetto Browse all classes by
Country: ???
Age: ???
All time rank: 167
Week rank: 655 Down


  Detailed description   Download .zip .tar.gz  
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.

  Classes of Jesus M. Castagnetto  >  CachedFastTemplate  >  Download .zip .tar.gz  >  Support forum Support forum (3)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: CachedFastTemplate
Base name: cachedfasttemplate
Description: Simple class extending CDI's Fastemplate Class
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 5768 users
All time rank: 344
Week users: 0 users
Week rank: 2015 Equal
 
  Groups   Rate classes User ratings   Applications   Related links   Files Files  

  Groups  
Group folder image HTML HTML generation and processing View top rated classes
Group folder image Cache Classes for managing cached pages View top rated classes
Group folder image Templates Template processing engines and components View top rated classes


  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Sufficient (65.0%)
Sufficient (60.0%)
-
-
-
-
Insufficient (38.5%)
2075
Month:
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
CDI's FastTemplate The FastTemplate class package of which this class is a simple extension -- JMC
Generalized CachedTemplate A class I wrote based on the ideas of this one. It support several template classes and contains some enhancements
IconGarden's cache class A general file caching class by Jacob Stetser that I found it after I submitted mine -- JMC

  Files folder image Files  
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

Download all files: cachedfasttemplate.tar.gz cachedfasttemplate.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.