Login   Register  
PHP Classes
elePHPant
Icontem

Class: template_bv

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Ben Vautier  >  template_bv  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: template_bv
Base name: template_bv
Description: Template engine based on token splitting not regex
Related classes: , , , ,
Version: -
PHP version: -
Licenses: BSD License
GNU Lesser General Public License (LGPL)
All time users: 397 users
All time rank: 5015
Week users: 0 users
Week rank: 2526
Picture of Ben Vautier
Author: Ben Vautier <e-mail contact>
Packages: 2 Browse this author's classes Browse this author's classes
Country: Australia Australia - PHP jobs in Australia
Age: 33
All time rank: 85015 in Australia Australia
Week rank: 2293 Down28 Down in Australia Australia


  Detailed description  
Template_bv is a minimalist templating engine that is extremely fast, does not use regular expressions and can easily be extended.

The main idea is based on "splitting" a predefined template at given delimiter marks.

The class splits the template string using the PHP explode function and a configurable token string to find where template variable placeholders are located. By using this method we don't need to use regular expression to locate the template variables.

This template engine would suite someone who likes to embed HTML inside of PHP and not the other way around.

It can assign values to be replaced by placeholder marks, as well as, define values to insert before (prepend) or after (append) those marks.

 

  Groups  
Group folder image Templates Template processing engines and components View top rated classes

  Rate classes User ratings   Applications   Files Files  

  User ratings  
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file class.template_bv.php Class main class
Plain text file example.php Example example
Plain text file main.tpl Data template

Download all files: template_bv.tar.gz template_bv.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.