PHP Classes

phpEngine: Regular expression match based template engine

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
StarStarStar 44%Total: 895 All time: 3,949 This week: 560Up
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

Details

[www.lwis.net/phpEngine] README - 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 admin@lwis.net or visit www.lwis.net/phpEngine GOOD LUCK!

  Files folder image Files (9)  
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

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:895
This week:0
All time:3,949
This week:560Up
 User Ratings  
 
 All time
Utility:65%StarStarStarStar
Consistency:50%StarStarStar
Documentation:-
Examples:70%StarStarStarStar
Tests:-
Videos:-
Overall:44%StarStarStar
Rank:3478