|
We find Fast Template very
usefull in our projects,
even if now is on the market
other template systems, like
Smarty. Most PHP projects
today use Smarty for this,
but we won't. Smarty puts
too much logic into the
template itself. To avoid
confusing or upsetting the
web designer, the core
template must look as much
like a regular HTML page as
possible. That means no
strange looking iteration
code and such. Instead,
we'll use FastTemplate.
FastTemplate may not be as
advanced and featureful as
Smarty, but its syntax is
definitely better suited for
this problem.
But because
it was not developed since
2002, we tried to add some
new functionalities to it
and make it reusable.
Templates are very useful
for CGI programming, because
adding HTML to your
PHP code clutters your code
and forces you to do any
HTML modifications. By
putting all of your HTML in
seperate template files, you
can let a graphic or
interface designer change
the look of your application
without having to bug you,
or let
Date: Oct, 30 2006 |