PHP Classes

Phptempt: Template engine for PHP and Java

Recommend this page to a friend!
  Info   View files View files (9)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 1,138 All time: 3,299 This week: 794Up
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
Age: ???
All time rank: 2180136 in Germany Germany
Week rank: 483 Up26 in Germany Germany Up

  Files folder image Files  
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

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,138
This week:0
All time:3,299
This week:794Up