[UPHPU] Template systems

Daniel C. dcrookston at gmail.com
Thu May 3 11:40:01 MDT 2007


On 5/3/07, Jared Stevens <jareds at brightbuilders.com> wrote:
> I've used Smarty for a while, but I've often wondered if there
> is anything better out there in the world of PHP.

> The main thing I like about Smarty is its ability to do formating and
> stuff on the fly, as well as the way it can handle arrays.

PHP itself makes a great templating language, and (bonus!) you get all
of PHP's functions - including a slew of array-handling functions,
which is too long to list here - along with it.

Why invent a new syntax for templating (which will inevitably curtail
the functionality you have available) when you can just use what PHP
provides natively?

Dan


More information about the UPHPU mailing list