PHP Classes

AbsTemplate: Template engine based PHP script templates

Recommend this page to a friend!
  Info   View files View files (13)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 44%Total: 1,358 All time: 2,857 This week: 68Up
Version License PHP version Categories
abs_template 1.0MIT/X Consortium ...5PHP 5, Cache, Templates
Description 

Author

This class implements a template engine based PHP script templates and variable replacement.

It can process template PHP scripts that are executed.

The class captures the template scripts output and replaces template variables by assigned values.

The resulting output can be cached in files to avoid template reprocessing overhead.

Picture of Costin Trifan
Name: Costin Trifan <contact>
Classes: 5 packages by
Country: Romania Romania
Age: 45
All time rank: 64712 in Romania Romania
Week rank: 312 Up3 in Romania Romania Up

  Files folder image Files  
File Role Description
Files folder imagetemplates (6 files)
Files folder imagecache (1 file)
Accessible without login Plain text file class.AbsTemplate.php Class The base class
Plain text file example_new Example Example using the default templates' cache expiry time
Accessible without login Plain text file example_caching.php Example Caching example
Accessible without login Plain text file example_db.php Example Display data from database
Accessible without login Plain text file example_default.php Example How to use AbsTemplate. No caching.
Accessible without login Plain text file example_variables.php Example How to pass variables to templates.

  Files folder image Files  /  templates  
File Role Description
  Accessible without login Plain text file content.php Appl. The content template file
  Accessible without login Plain text file footer.php Appl. The footer template file
  Accessible without login Plain text file header.php Appl. The header template file
  Accessible without login Plain text file show_data_db.php Appl. The database connection template file
  Accessible without login Plain text file show_variable.php Appl. The template file displaying a variable set in the parent file.
  Accessible without login Plain text file sidebar.php Appl. The sidebar template file

  Files folder image Files  /  cache  
File Role Description
  Plain text file info.txt Data The folder that stores the cached files

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,358
This week:0
All time:2,857
This week:68Up
 User Ratings  
 
 All time
Utility:66%StarStarStarStar
Consistency:58%StarStarStar
Documentation:-
Examples:50%StarStarStar
Tests:-
Videos:-
Overall:44%StarStarStar
Rank:3423