Re: Best Template Engine
| From: | Peter J. Schoenster | Date: | Sat, 14 Sep 2002 06:31:03 +0000 |
| Subject: | Re: Best Template Engine | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-116355@lists.php.net to get a copy of this message | ||
On 13 Sep 2002 at 11:26, Dennis Gearon wrote:
> I need to make BLOG of my own, out of pieces. MOst of the BLOGS out
> there are not modular in regards to their permission, authorization
> system. Too bad, every piece of software should have as many modules and
> public interfaces as it has functions, like unix does. That way, a
> better piece of software can be used.
>
> Anyway, I need to know what everybody who is using a template engine
> thinks of them, especially those that have tried more than one. --
Hi,
In Perl I used HTML::Template (been sort of ported to PHP) and Template::Toolkit which I always use
now.
I'm new to PHP since this year. I was shocked by what people thought were template systems.
Horrific imho. I used
http://htmltmpl.sourceforge.net/php.html
but then I found smarty
http://smarty.php.net/
I use it with an XML feed from Amazon in these pages:
http://www.readbrazil.com/books/amazon.php?mode=books
I'm using it in some other current projects and it provides the loops within loops that are a
necessity. I have not found
better in the PHP world although people have mentioned others. I like that I always know where to go
when I need to
look at the API: smarty.php.net
Peter