PHP Classes

Haanga: Template engine to process Django style templates

Recommend this page to a friend!
  Info   View files View files (321)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-06-15 (Yesterday) RSS 2.0 feedStarStarStarStar 74%Total: 375 All time: 6,767 This week: 455Up
Version License PHP version Categories
haanga 1.3BSD License5.2PHP 5, Templates, Code Generation
Description 

Author

This package is a template engine that can process Django style templates.

It can parse Django style templates and compile them into PHP code that can be executed to generate the processed template output.

The engines supports variable replacement, conditional blocks, loops, external template file inclusion.

It also supports template inheritance by allowing to redefining a template based on another template.

Innovation Award
PHP Programming Innovation award nominee
August 2010
Number 3


Prize: One year subscription to the PDF edition of the JSMag magazine
Templates are often used to render Web pages that follow the same pattern.

Sometimes you use multiple templates on a site that differ just in small details.

This package is a PHP template engine inspired on the Django Python framework template engine.

Among other features it supports defining templates that inherit their composition from other templates, thus allowing to reuse templates to minimized the template development effort.

Manuel Lemos
Picture of Cesar D. Rodas
  Performance   Level  
Innovation award
Innovation award
Nominee: 25x

Winner: 5x

 

Details

This project was created* and sponsored by Menéame (http://meneame.net/) [*] http://twitter.com/gallir/status/16256084676

  Files folder image Files  
File Role Description
Files folder imagecontrib (2 files)
Files folder imageexamples (4 files, 4 directories)
Files folder imagelib (1 file, 1 directory)
Files folder imagetests (2 files, 3 directories)
Accessible without login Plain text file .travis.yml Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. BSD License
Accessible without login Plain text file Makefile Data Auxiliary data
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file README Data Auxiliary data

 Version Control Unique User Downloads Download Rankings  
 98%
Total:375
This week:0
All time:6,767
This week:455Up
 User Ratings  
 
 All time
Utility:83%StarStarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:83%StarStarStarStarStar
Examples:83%StarStarStarStarStar
Tests:83%StarStarStarStarStar
Videos:-
Overall:74%StarStarStarStar
Rank:80