PHP Classes
Icontem

Class: template_bv


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Ben Vautier  >  template_bv  >  Download  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: template_bv Support forum
Base name: template_bv
Description: Template engine based on token splitting not regex
Related top rated classes: , ,
Version: -
Required PHP version: -
Licenses: BSD License
GNU Lesser General Public License (LGPL)
All time users: 376 users
All time rank: 4178
Week users: 1 user
Week rank: 3675
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  

Author

Picture of Ben Vautier
Name: Ben Vautier <e-mail contact>
Published packages: 2 Browse this author's classes Browse this author's classes
Country: Australia Australia - PHP jobs in Australia
Home page: http://www.vhd.com.au/forum
Age: 31
All time rank: 765
Week rank: 1664

Groups

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

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.

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

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.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2010 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products