[PEPr] Comment on HTML::Template_Savant
| From: | PEPr | Date: | Wed, 02 Jun 2004 10:35:01 +0000 |
| Subject: | [PEPr] Comment on HTML::Template_Savant | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-29858@lists.php.net to get a copy of this message | ||
Lukas Smith (http://pear.php.net/user/lsmith) has commented on the proposal for
HTML::Template_Savant.
Comment:
Please dont use the existing template engines as an example of what we should have in PEAR in the
future. I think its widely accepted within the community that the template engine category is a
mess. Using this mess as a reason to do to the mess is obviously not a good idea.
When I say mess I am not talking about that either of the template engines themselves are a mess. I
am saying that a sufficiently modular approach is what we should have done all along.
For example the compiling step in Flexy and Xipe is obviously very easy to make optional without
making anything "heavier" for people that dont use this feature. At the same time it
should be trivial to make a plugin system truely optional as well.
I have looked at the source as well and at its core its the same thing.
[compile]
[pre filter]
set variables
ob_start()
include
ob_get_contents()
ob_end_clean()
[post filter]
Sorry I dont get where the huge differences are and I certainly dont get why we need yet another API
for this. A proper modular design is what we need.
Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=83
--
Sent by PEPr, the automatic proposal system at http://pear.php.net