PHP Classes

phpEngine: Regular expression match based template engine

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (9)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2004-11-10 (10 years ago) RSS 2.0 feedStarStarStar 46%Total: 878 All time: 3,759 This week: 1,332Up
Version License Categories  
phpengine 1.0FreewareTemplates
Description Author  

This class is a simple template engine meant to be able to separate your PHP scripts code from the HTML code that defines its output.

It uses regular expressions to locate placeholders and replace them with the respective assigned variable values.

Curly braces { } ) are used to identify placeholders. It also supports the spacial tags <loop> and <var> to identify placeholders and iteration loop sections.

Picture of Tomas B
Name: Tomas B <contact>
Classes: 1 package by
Country: Lithuania Lithuania
Age: ???
All time rank: 233612 in Lithuania Lithuania
Week rank: 1490 Up4 in Lithuania Lithuania Up

Details provided by the author  

- Upload all directories and files to a web server and run program.php, located in the "samples" directory, for a quick review of phpEngine functions.
- Open files program.php and thisisonlyatest.pat with your text editor and try to understand how everything is working.
- Analyze the source of the addons.php file.
- If you want to use mysql addon, don't forget to set your hostname, username and password in the mysql.addon.php file

If you need support, write to
or visit

  Files folder image Files  
File Role Description
Accessible without login Plain text file addons.php Test Test MySQL functions
Accessible without login Plain text file include.pat Aux. sample include pattern file
Accessible without login Plain text file license.txt Lic. Non-Commercial License
Accessible without login Plain text file mysql.addon.php Aux. MySQL functions
Plain text file phpEngine_run-up-1.1.2.php Class Class file (main)
Accessible without login Plain text file program.php Example PHP test file
Accessible without login Plain text file readme.txt Doc. Readme file
Accessible without login Plain text file thisisonlyanothertest.pat Test Another template file
Accessible without login Plain text file thisisonlyatest.pat Data Template file

 Version Control Unique User Downloads Download Rankings  
 0%Total:878All time:3,759
 This week:0This week:1,332Up
 User Ratings  
 All time