PHP Classes

HSTemplate: Template engine with caching support

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (14)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 69%Total: 5,550 All time: 440 This week: 560Down
Version License PHP version Categories
hstemplate 0.1.15GNU General Publi...4.3Cache, Templates


This package implements a template engine with output caching support.

It can assign templates files a name so they can be referenced by that name.

The class loads from a given directory template files which are actual HTML files with embedded PHP code.

It can assign to each template, variables which are stored as class variables.

The templates are processed by turning template variables into local variables and then include the template file scripts.

The results of processed templates can be cached to avoid subsequent template processing overhead.

Picture of Anton Shevchuk
Name: Anton Shevchuk <contact>
Classes: 3 packages by
Country: Ukraine Ukraine
Age: 41
All time rank: 1754 in Ukraine Ukraine
Week rank: 286 Down6 in Ukraine Ukraine Down

  • screen
  Files folder image Files  
File Role Description
Files folder imageHSTemplate (2 files)
Files folder imagetemplates (3 directories)
Plain text file index.php Example Example
Plain text file style.css Data Example
Plain text file _loader.php Aux. Example
HTML file readme.html Doc. Learn HSTemplate in 10 Minutes (Small tutorial)

  Files folder image Files  /  HSTemplate  
File Role Description
  Plain text file HSTemplate.class.php Class Main Class
  Plain text file HSTemplateDisplay.class.php Class Main Class

  Files folder image Files  /  templates  
File Role Description
Files folder imagecontent (4 files)
Files folder imageindex (3 files)
Files folder imagemenu (1 file)

  Files folder image Files  /  templates  /  content  
File Role Description
  Plain text file default.html Data templates
  Plain text file test1.html Aux. templates
  Plain text file test2.html Aux. templates
  Plain text file test3.html Aux. templates

  Files folder image Files  /  templates  /  index  
File Role Description
  Plain text file footer.html Data templates
  Plain text file header.html Aux. templates
  Plain text file index.html Aux. templates

  Files folder image Files  /  templates  /  menu  
File Role Description
  Plain text file menu.html Data templates

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:440
This week:560Down
 User Ratings  
 All time