Re: [SMARTY] XML Templates
| From: | Manfred 'dwerg' Stienstra | Date: | Thu, 09 May 2002 14:03:04 +0000 |
| Subject: | Re: [SMARTY] XML Templates | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4119@lists.php.net to get a copy of this message | ||
On Thursday 09 May 2002 03:32 pm, Ben Godfrey wrote:
> Sorry, I did say don't shoot me down on these. I'm just trying
> to promote discussion because I think that there are things to
> be gained from XML formalizing the template language.
I'm not trying to shoot you down, I'm just adding to the discussion.
> Mainly because all my data is in MySQL and also I want access to
> other resources that PHP offers, like Mime_Mail from PEAR, but
> still want to separate logic and content. I want templates to be
> monkey-simple, which XSLT doesn't really do.
I understand you want to use smarty, but some people seem to think a complete
redesign is in order only because it will help them develop in the software
they already have. What you're asking is to make a different product out of
smarty.
> Anyway, this doesn't seem to be really working. How about we
> turn it around and say can anyone think of any reason that
> converting templates to XML syntax would be explicitly bad,
> apart from the redevelopment time/costs?
I would say redesigning/redevelopment and decrease in performance are pretty
good reasons. Other reasons are performace, performance and performance.
Besides, I'm using smarty because it does precisely what I want, and nothing
more. I'm not willing to trade in my performance just because so we can join
in on the xml hype.
dwerg