Re: [SMARTY] XML Templates (was RE: [SMARTY] Sections and XHML)

From: Date: Fri, 10 May 2002 09:07:59 +0000
Subject: Re: [SMARTY] XML Templates (was RE: [SMARTY] Sections and XHML)
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-4172@lists.php.net to get a copy of this message
Hi, my little 2 cts contribution, In your idea it seams that you want smarty to use XML templates. Ok. I understand all the benefit of the use of XML templates. But just one question : Why PHP, C++, etc... are not XML compliant ? It could be nice to transform C++ to PHP only through a Sablot run... In fact I think that, yes, data must be sent and stored in an XML format, but for the modification from a format to another, I'm not sure this is the best solution, juste because the XML syntaxe is to heavy when your are coding. If you think in layers for your application, what I use is something like that : [ storage layer ](XML format) [ interface to the storage ](just to store or retrieve) [ script logic ](validation of the forms, data etc...) (smarty here) [ output data ](XML format) (smarty here too) In my logic, and in the interface between the logic and the database, ok, I handle XML data, but with the best tools for each specific action. I agree with the fact that XML is good, very good, but I think that we don't need XML on each level. Loic I'm using smarty on a French project: http://www.xhtml.net/ <-- smarty powered (do you have a smarty logo ?) sources of xhtml.net's engine http://sourceforge.net/projects/pxsystem/

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