Templates: ft
Cornel Alexa (contact me)
Class to work with template files.
Supports multiple (nested or not) files and multiple (nested or not) dymanic blocks.
It is much like FastTemplate. Most of the functions match those from FastTemplate so it is easy to test and implement.
A new class based on first is created.The new one have a nice caching engine so I think whort a try and let'me know your opinion.
Read the cls_ft_cache.php file for more info.
| Utility
| Consistency
| Docs
| Examples
| Tests
| Videos
| Overall
| Rank
|
| Sufficient (66.7%)
| Sufficient (75.0%)
| -
| Good (91.7%)
| -
| -
| Not sure (50.0%)
| 1239 |
Click here for detailed information about this class on phpclasses.org
Output
Template file for test_unit.php
Output
Template for mixed_sample.php
Output
Template for static_sample.php
Output
Html file for test_unit_b.php
Output
Template for mixed_sample.php
Output
Template (row) for static_sample.php
Class
Template engine with cache support.
Example
Test/Sample file for ft_cache class.
Example
Mixed static with dynamic block sample
Example
Two static templates sample.
Example
Quick sample with benchmark