Re: [PEPr] +1 for HTML::Template_Savant

From: Date: Wed, 09 Jun 2004 12:14:48 +0000
Subject: Re: [PEPr] +1 for HTML::Template_Savant
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-30274@lists.php.net to get a copy of this message
- Savant has a totally different approach then XIPE,Flexy and any other template engine available on PEAR. It is lightweight not compiling, non caching and it is exremely easy to extend it using filters. There are different ways to look at it but if you try both (as I did) the other existing template engines you will see the difference from a developer standpoint.
I think you overestimate the difference, the patch to support Savant in Flexy was < 30 lines, and Flexy is still 30% smaller that Savant..
Even if there is a subtle line on defining redundant packages, Savant didn't cross it.
This is one of the reasons I voted against - it does cross the line, and is extremely redundant.. - the wrapper around Flexy to do pretty much the same API is 60 lines of code..
Eventually I would be strongly against any integration with Flexy. I wouldn't use Savant as a sub method of another package. It's different and very lightweight.
I'm not sure how you classify lightweight when it is 30% bigger..
So it looks like Savant is at +8 (1 conditional) / -3 for a +5 (1 conditional) ... and Alan's -1 vote in that bunch makes me think he does not want to collaborate on a unified template engine (Alan, please correct me if I'm wrong there).
I do believe a unified engine is the way to go, unfortunatly, Savant already has a number of serious design issues, = Poorly designed Loader / API for plugins. = Not a very generic API I'm not saying Flexy's API is perfect, however, it already supports Savant, Flexy, and Xipe like backends. and would probably be a better starting point for a unified engine. (as mentioned previously - based around the previously proposed unified API) Regards Alan -- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.com

« previous php.pear.dev (#30274) next »