Re: [SMARTY] XML Templates
| From: | Ben Godfrey | Date: | Thu, 09 May 2002 19:15:33 +0000 |
| Subject: | Re: [SMARTY] XML Templates | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4135@lists.php.net to get a copy of this message | ||
Andrei,
I think that the tools issue could be pretty compelling. Smarty exists to stop HTML layout people having to know PHP. To write templates though, they have to know HTML, which a lot of the people who make websites don't, or at least not to the standard required. They rely on tools like Dreamweaver to do it for them. With GUI tool support for Smarty they could just highlight a table cell and click the 'bind to Smarty section' button. At the moment creating tools like this would be hard, from within the auspices of XML it gets easier, there are already generic XML editing tools around that could perform this function.
I also think that there is merit in sticking with the crowd in a lot of things.
Ben Godfrey
On Thursday, May 9, 2002, at 08:01 PM, Andrei Zmievski wrote:
At 10:51 AM 5/9/02 -0700, Brent R. Matzelle wrote:Before you start using the performance card perhaps you should consider some other factors. If Smarty loses public support because its standard does not at least partially comply with XML then all the speed in the world won't be able to save it. We have not even run one benchmark and you are already shooting everything down because of speed issues. Given that argument C/C++ should still be beating the pants off the syntactically cleaner, yet slower, Java. Plus, would slightly changing the Smarty syntax really decrease performance that much? I think if the code were written correctly then benchmarks would prove the opposite.I have to jump in here. XML is a pretty nice standard, but who says that everything has to be compliant with it? In my eyes, it's just a tool, like any other one and you use the best tool for the job. Is there really a compelling reason to make Smarty templates XML compliant or is it purely for buzzword value? -Andrei -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php