TemplumPHP templating engine | |
Download |
Templum Ranking & Summary
Advertisement
- License:
- MIT/X Consortium Lic...
- Price:
- FREE
- Publisher Name:
- Ferry Boender
- Publisher web site:
- http://www.electricmonk.nl/index.php?page=PROMS
Templum Tags
Templum Description
PHP templating engine Templum is a fast, powerful, yet simple and lightweight templating engine for PHP. It re-uses the power of PHP itself for rendering templates, but provides additional features making it easier to write templating code. Rendering templates using Templum is very fast; it approximates native PHP rendering speed for include() statements.Templum's template syntax has the following features: {{ and }} Echo's the variable, function or other PHP printables between the accolades. Echo'ed contents is automatically escaped using htmlentities() (can be turned off). ] Start a PHP code block. @line Interpret a line starting with an at-sign as a line of PHP code. Here are some key features of "Templum": · Lightweight. About 140 lines of code (excluding ±140 lines of API comments). · Re-uses PHP alternative syntax for clarity and full power. · Very fast. Renders 10,000 templates in 0.741s (Native PHP takes 0.633s). · I18N (translated) templates. · Per-session caching of rendered templates. · Security by automatic encoding of HTML entities. · Universal, global and local variables. · PHP v4 and v5 support. What's New in This Release: · This release of adds the ability to include other templates, fixes some minor bugs, and updates the user guide. · Templum's stability has been promoted to Beta.
Templum Related Software