Page 1 of 1
temlates issue
Posted: Fri Dec 30, 2005 4:04 am
by itsmani1
i want to work on template based sites. can anyone guide me on this, that how should i read my template file etc.
my main question is that once you have read the template then how you will this file?
Posted: Fri Dec 30, 2005 4:18 am
by foobar
I think your best bet is to use an out-of-the-box template system like
Smarty or
Savant.
Both are quite extensive, although you will have to learn a special syntax to use Smarty
If you are reluctant, and would rather use PHP as a templating language, go for Savant.
IIRC, both have template caching, and Savant even allows you to implement a different template compiler to the default one.
Posted: Fri Dec 30, 2005 6:24 am
by dreamline
I hear Smarty is quite extensive on templating and uses some special scripting. However i am studying phpBB right now and see how the basics are done and i must say i can follow it up to now....

Posted: Fri Dec 30, 2005 12:46 pm
by Ambush Commander
phpBB appears to use macro substitution. It's just {*} is magical and will get substituted.