Login   Register  
PHP Classes
elePHPant
Icontem

Pop Corn: Template engine that compiles templates into PHP

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-05-07 (3 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 308 This week: 1All time: 6,481 This week: 1,467Up
Version License PHP version Categories  
popcorn 1.0.0GNU General Public Lice...5.2PHP 5, Templates
Description Author  

This class implements a template engine that compile templates into PHP.

It reads a given template file and replaces certain marks by PHP code that implement the supported template logic.

The class supports template variables, conditional sections, loops, including additional templates, etc..

The generated compiled template is saved to a PHP file so it does not need to be compiled again when the same template is used. The resulting template HTML may be compressed optionally.

The compiled template file is included to process the template and generate its output.

Picture of Sergey Romanenko
Name: Sergey Romanenko <contact>
Classes: 1 package by
Country: Ukraine Ukraine
Age: ???
All time rank: 334761 in Ukraine Ukraine
Week rank: 1125 Up26 in Ukraine Ukraine Up

  Files folder image Files  
File Role Description
Plain text file popcorn.class.php Class easy and fast template engine for PHP

 Version Control Unique User Downloads Download Rankings  
 0%Total:308All time:6,481
 This week:1This week:1,467Up