a question to HTML_Template_IT/ITX maintainers
| From: | Alexey Borzov | Date: | Thu, 19 Sep 2002 08:34:22 +0000 |
| Subject: | a question to HTML_Template_IT/ITX maintainers | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-9189@lists.php.net to get a copy of this message | ||
Greetings!
Some time ago (when IT[X] was effectively not maintained) I borrowed it
from PEAR and made some kind of private fork from it --- I liked
its API and "ideology" very much.
Now I have a class which is (mostly) API compatible with ITX but
is alot cleaner, faster and well-tested in production environment.
Advantages over ITX:
* Transparent caching of parsed templates. I found out (the hard
way) that findBlocks() call is VERY expensive.
* faster parse(): fewer preg_replace() calls
* Addition of "global" variables, hideBlock() method (an opposite
of touchBlock())...
Disadvantages:
* One class instead of IT/ITX hierarchy
* Callback functions are not supported
* Comments and error messages are in Russian :]
* Private API, variables and some subtle quirks are NOT compatible with ITX
As the class is effectively a rewrite, it is impossible to provide
simple patches for IT[X]. So a question: are you interested in merging my work
into the existing ITX code?
--
С уважением, Алексей Борзов
отдел интернет-проектов ООО "РДВ-Медиа"
http://www.rdw.ru
http://www.vashdosug.ru