Login   Register  
PHP Classes
elePHPant
Icontem

Class: SmashTemplate

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of James Glenlake  >  SmashTemplate  >  Download .tar.gz .zip  >  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: 760 users
All time rank: 3578
Week users: 0 users
Week rank: 2559
Picture of James Glenlake
Author: James Glenlake <e-mail contact>
Packages: 5 Browse this author's classes Browse this author's classes
Country: United States United States - PHP jobs in United States
Age: ???
All time rank: 32437 in United States United States
Week rank: 994 Down110 in United States United States Down


  Detailed description  
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.

 

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

  Rate classes User ratings   Applications   Files Files  

  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.