Login   Register  
PHP Classes
elePHPant
Icontem

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: 402 users
All time rank: 5085
Week users: 1 user
Week rank: 2417
 

  Author  
Picture of Ben Vautier
Name: Ben Vautier <e-mail contact>
Packages: 2 Browse all classes by Ben Vautier Browse all classes by
Country: Australia Australia - PHP jobs in Australia
Age: 33
All time rank: 86016 in Australia Australia
Week rank: 600 Up10 in Australia Australia Up


  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   Rate classes User ratings   Applications   Files Files  

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


  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.