My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
Introductiontotintpl  
A short introduction to tinyTpl
Updated Oct 8, 2008 by hexap...@gmail.com

Introduction

I usually use smarty for my web project, but this template engine is too big, do many things I don't need, and is too slow.
So I have start to develop the template engine I need.

QuickStart

TinyTpl syntax is quite simple :

<: templatekey :> allow you to include a template in a template. You must specify the template name using setSubTemplate methode.
$variableKey allow you to include a variable from php. Use method set() to set the variable in PHP.
;;i18nTag allow you to specify a text tag. Content of this tag must be specified in you i18n template.
Powered by Google Project Hosting