Login   Register  
PHP Classes
elePHPant
Icontem

SmashTemplate

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

  Author  
Picture of James Glenlake
Name: James Glenlake <e-mail contact>
Packages: 5 Browse all classes by James Glenlake Browse all classes by
Country: United States United States - PHP jobs in United States
Age: ???
All time rank: 34838 in United States United States
Week rank: 2041 Down248 in United States United States Down


  Detailed description   Download .zip .tar.gz  
SmashTemplate is a template engine class that allows for you to create a template, add placeholders, then replace the placeholders dynamically with PHP code.

The resulting preprocessed template is evaluated like a normal PHP script to generate the processed output.

This template engine also allows for the use of PHP code inside the templates. This way you can reuse your PHP knowledge to define template logic and so you do not have to learn new template logic tags.

  Classes of James Glenlake  >  SmashTemplate  >  Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: SmashTemplate
Base name: smashtemplate
Description: Template that replaces placeholders by PHP code
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 767 users
All time rank: 3842
Week users: 0 users
Week rank: 2228 Equal
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image Templates Template processing engines and components View top rated classes


  User ratings  
There are not enough user ratings to display for this class.

  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.
  Files folder image Files  
File Role Description
Plain text file index.css Data Stylesheet for example
Accessible without login Plain text file index.php Example An example of how to use SmashTemplate
Plain text file template.php Class The main class file
Plain text file template.tpl Data Example template file. Should be placed in templates directory.

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