PHP Classes

ft: Template engine with nested dynamic blocks

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 46%Total: 1,473 All time: 2,653 This week: 560Up
Version License Categories
ft 1.0GNU General Publi...Templates
Description 

Author

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.

Picture of Cornel Alexa
Name: Cornel Alexa <contact>
Classes: 2 packages by
Country: Romania Romania
Age: 51
All time rank: 154338 in Romania Romania
Week rank: 170 Up4 in Romania Romania Up

  Files folder image Files (13)  
File Role Description
Accessible without login Plain text file a_dynamic.html Output Template file for test_unit.php
Plain text file a_mixed.html Output Template for mixed_sample.php
Accessible without login Plain text file a_static.html Output Template for static_sample.php
Plain text file b_dynamic.html Output Html file for test_unit_b.php
Plain text file b_mixed.html Output Template for mixed_sample.php
Accessible without login Plain text file b_static.html Output Template (row) for static_sample.php
Plain text file cls_ft.php Class Template Class
Plain text file cls_ft_cache.php Class Template engine with cache support.
Accessible without login Plain text file ftc_test.php Example Test/Sample file for ft_cache class.
Plain text file mixed_sample.php Example Mixed static with dynamic block sample
Plain text file static_sample.php Example Two static templates sample.
Accessible without login Plain text file test_unit.php Example Quick sample with benchmark
Plain text file test_unit_b.php Example Php file for nested blocks sample

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:1,473
This week:0
All time:2,653
This week:560Up
 User Ratings  
 
 All time
Utility:62%StarStarStarStar
Consistency:68%StarStarStarStar
Documentation:-
Examples:81%StarStarStarStarStar
Tests:-
Videos:-
Overall:46%StarStarStar
Rank:3230