Re: templates with php

From: Date: Mon, 31 Jul 2000 15:55:44 +0000
Subject: Re: templates with php
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-9185@lists.php.net to get a copy of this message
on 7/31/00 8:11 AM, Carlos Henrique at carlos@ifx.com.br wrote: > Hi there! > > I'm starting a new project from scratch and I my idea is do it with html > templates. What I mean is a directory with some templates like index.html, > details.html, checkout.html, etc, which one with symbols in it, like > @title@, @price@, @description@, etc... When the page is requested some > kind of pre-processor reads variables and show the dynamic page. My > question is how can I do that with php? What's the best way? Check out either fasttemplates (for PHP) or PHPLib's templates code. I would go with PHPLib, as it is more likely the type of system that will be integrated into PHP (that was said at some point by one of the lead developers, I forget who specifically). Also the PHPLib's implementation is faster, if I am not mistaken. Works pretty well. http://www.netuse.de/phplib Cheers, -k

« previous php.general (#9185) next »