PHP Classes

Phptempt: Template engine for PHP and Java

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,139 All time: 3,312 This week: 560Up
Version License Categories
phptempt 1.0FreewareTemplates
Description 

Author

Template engine for PHP and Java. Templates are precompiled and then included to the script/Java program. Templates are organized in repeating blocks and placeholders, all placed in one single file. Blocks may be recursive. A version of the engine is available that is optimized for Java and particularly useful for the creation of code generators of any kind.

Picture of Hans Körber
Name: Hans Körber <contact>
Classes: 1 package by
Country: Germany Germany

  Files folder image Files (9)  
File Role Description
Accessible without login Plain text file list_dir.php Example Recursively print contents of a specified directory
Accessible without login Plain text file list_dir.tpl Data Template for the list_dir.php example script
Accessible without login Plain text file notes.txt Doc. Contains links to tutorial and additional stuff
Plain text file phptempt.jj Class JavaCC file for the template parser, see code text for brief installation instructions
Plain text file phptempt.php Class Contains methods of the Phptempt API (include template, add values, output etc.)
Accessible without login Plain text file three_color.php Example output of a HTML table with rows in three different colours
Accessible without login Plain text file three_color.tpl Data Template file for the three_color.php example
Accessible without login HTML file tutorial.css Data Cascading style sheet for HTML version of the tutorial
Accessible without login HTML file tutorial.html Doc. Online tutorial, contains many examples

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,139
This week:0
All time:3,312
This week:560Up