Last Updated | | Ratings | | Unique User Downloads | | Download Rankings |
2023-05-23 (3 days ago)  | | Not enough user ratings | | Total: 182 This week: 2 | | All time: 8,645 This week: 258 |
|
Description | | Author |
This class can process and output PHP template scripts
It can process a given template PHP script by including it and capturing its output.
The template can access the template variables using $this, as the template variables are class variables.
It supports all the constructs of PHP like loops, conditional sections, including external files, etc..
The template output can be compressed by removing HTML comments and whitespace. The final processed output can be cached in local files to avoid template reprocessing overhead. | |
 |
|
Innovation award
 Nominee: 15x
Winner: 3x |
|
Details
H2OTpl - PHP Template Engine
Description
“The simplest and best way to separate your HTML (template) code from your PHP code while coding in PHP!”
H2OTpl is an easy, fast and secure PHP template engine.
It was created for my H2O Engine (framework), but now I have decided to create a standalone version for people who don't want to use it with my H2O framework.
My other Web Template Engines
-
PHXSLT is a XSLT Template Engine for PHP.
-
PH7Tpl There is not standalone version available.
pH7Tpl is integrated into my pH7Frameowork. It supports two different syntaxes. The first looks slightly to Smarty syntax and the second is inspired to XSLT/XML syntax but simplified and easier to use.
Server Requirements
H2OTpl class can work with PHP 5.2, but not the demo. So, I recommend to have PHP 5.4 or higher installed.
Author
Pierre-Henry Soria
Contact
You can contact me at: ph7software {AT} gmail {DOT} com
License
This script is under Lesser General Public License (LGPL); See the LICENSE.txt file for more information.
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.