PHP Classes

Basic Template: Regular expression matching 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 52%Total: 3,051 All time: 1,192 This week: 75Up
Version License Categories
vnc_basictemplate 1.0GNU General Publi...Templates
Description 

Author

This class implements a template processing engine that is based on regular expressions to locate several types of place holders and block marks.

It can replace placeholders with values from string variables, from array entries, from object variables or a from combination of arrays and objects.

It supports template blocks that can be processed conditionally or iteratively.

It also supports the inclusion of template files within other template files.

Picture of Bao Nguyen Quoc
Name: Bao Nguyen Quoc is available for providing paid consulting. Contact Bao Nguyen Quoc .
Classes: 10 packages by
Country: Viet Nam Viet Nam
Age: 36
All time rank: 341 in Viet Nam Viet Nam
Week rank: 163 Down2 in Viet Nam Viet Nam Down
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files (10)  
File Role Description
Plain text file basic_template.php Class Class
Accessible without login Plain text file sample_1.html Data Example 1 Template
Accessible without login Plain text file sample_1.php Example Example 1
Accessible without login Plain text file sample_2.html Data Example 2 Template
Accessible without login Plain text file sample_2.php Example Example 2
Accessible without login Plain text file sample_3.html Data Example 3 Template
Accessible without login Plain text file sample_3.php Example Example 3
Accessible without login Plain text file sample_4.html Data Example 4 Template
Accessible without login Plain text file sample_4.php Example Example 4
Accessible without login Plain text file sample_4_sub.html Data Example 4 Template

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:3,051
This week:0
All time:1,192
This week:75Up
User Ratings User Comments (1)
 All time
Utility:77%StarStarStarStar
Consistency:70%StarStarStarStar
Documentation:-
Examples:72%StarStarStarStar
Tests:-
Videos:-
Overall:52%StarStarStar
Rank:2292