Re: [SMARTY] Sections and XHML

From: Date: Wed, 08 May 2002 19:32:14 +0000
Subject: Re: [SMARTY] Sections and XHML
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-4093@lists.php.net to get a copy of this message
On Wednesday, May 8, 2002, at 07:26 PM, Gary Loescher wrote:
Bertrand, The only uses I can think of for XHTML-compliant templates would be to manipulate them programmatically with expat or something, and to store meta-info in the templates themselves. I'm not sure how useful either of those things would be though. You might be able to use it to generate template documentation.
And the people who built the original IBM PC thought that 640k was enough. Time has taught us that software always has demands placed on it that were unexpected, fitting in with the crowd by making Smarty XML-like would just be a good idea in that a larger set of tools could be leveraged to manipulate the templates. It strikes me that direct manipulation of the templates might be a good way to allow Smarty to be used as a middleware layer between the web server and some ancient app. If standard XML parser code can be used to build an interface layer then the amount of programming miles can be reduced. I don't know but I thought that the whole point of XML was just to lay down a few ground rules for formatting in structured text documents and, since Smarty falls smack into this category, it just seems like a missed opportunity. IMHO. <rant ends> Ben Godfrey
Gary
-----Original Message----- From: Bertrand DUNOGIER [mailto:bdunogier@wanadoo.fr] MdS> Worse even, the templates can _never_ be xhtml complient, because MdS> they use these strange tags starting with { and ending with }. I MdS> don't think any of that wil be included in the xhtml standard. I still don't see why you want your templates to be XHTML compliant... they are not to be sent "as is" to the browser, so what ? Bertrand
-- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.smarty.general (#4093) next »