Login   Register  
PHP Classes
elePHPant
Icontem

Class: Separated Template

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Sebastian Potasiak  >  Separated Template  >  Download .tar.gz .zip  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Separated Template
Base name: stamplate
Description: Process HTML templates using CSS classes
Version: 2.1
PHP version: 5.0
License: Custom (specified in a license file)
All time users: 866 users
All time rank: 3288
Week users: 0 users
Week rank: 2526
Picture of Sebastian Potasiak
Author: Sebastian Potasiak <e-mail contact>
Packages: 5 Browse this author's classes Browse this author's classes
Country: Poland Poland - PHP jobs in Poland
Age: 18
All time rank: 78723 in Poland Poland
Week rank: 422 Up12 in Poland Poland Up
Innovation award
Innovation award
Nominee: 3x


  Detailed description  
This class can be used to process HTML templates using CSS classes.

It reads HTML templates from files and replaces the contents of HTML tags that have given CSS class names.

The processed template is returned as a string.

 

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Templates Template processing engines and components View top rated classes

  Rate classes User ratings   Applications   Related links   Files Files  

  Innovation Award  
PHP Programming Innovation award nominee
July 2009
Number 6
Most common template engine solutions require that templates have special marks that identify sections which will be replaced by variable values when the templates are processed.

This class provide an alternative approach for HTML templates. It consists in identifying the sections to be replaced using the tag attribute that specifies the CSS class for the tag element.

Manuel Lemos

  User ratings  
There are not enough user ratings to display for this class.

  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.

  Related links  
Link Description
sTemplate [Polski/Polish] Wpis o sTemplate na moim blogu

  Files folder image Files  
File Role Description
Files folder imagetemplates (1 file)
Plain text file example.php Example Example of using class
Plain text file license.txt Lic. Creative Commons
Plain text file sTemplate.class.php Class Class file
Plain text file style.css Example Style file

  Files  /  Files folder image templates  
File Role Description
  Plain text file main.html Data Template file

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