simply put... by someuser1 on 3/05/07 11:33 PM Message # 8188
XML is great for computer-to-computer data transactions, but is horrible for humans to read and write. Smarty is easy to read, easy to understand. Do you really need the template source parsed by an XML parser? That said, the OUTPUT of the template can easily be XML compliant and parsible.
Yeah yeah, XML/XSL, standards compliant, yadda yadda. At the end of the day it comes down to development time, and time is money. I'll take Smarty. :)
simply put... by oneuser on 3/05/07 11:26 PM Message # 8187
XML is good for computer-to-computer data transactions, but horrible for humans to read and write. Templates are edited by humans, there is rarely a case where template files would be parsed by an XML parser. The *output* of the template can easily be XML compliant, so parse to your hearts content :)
A jumble of code and HTML tags by Roman on 7/30/06 05:41 PM Message # 8147
The author said: "Basically, Smarty is a jumble of PHP code and HTML tags." But the same can be said about XSL -- a jumble of XSL code and HTML (or whatever else) tags. So, this isn't a good argument for using XSL. That XSL can be used with other languages without modification is a good argument, though.