Yet Another Template Engine
| From: | Anders Johannsen | Date: | Sat, 12 May 2001 19:23:59 +0000 |
| Subject: | Yet Another Template Engine | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-372@lists.php.net to get a copy of this message | ||
I have developed a new template engine, which I intend to commit to
PEAR.
However, IT(X) which serves a similiar purpose, already exists in the
repository. To avoid redundance in PEAR, I have decided to submit my
code to the list to see if you -- like I --- feel that my class is
actually contributing with something new. I believe it could co-exist
with IT(X) quite happily.
A few words about the template engine:
* It features an easy and consistent syntax for powerful symbol
substitution
* Global namespace allows unlimited nesting (except in blocks)
* Block support
* Warnings for unresolved symbols
Please have a look in the attached source -- there is a small example of
usage. The class isn't PEARifyed yet.
Best regards,
Anders Johannsen
aj@php.net