Re: contributed examples

From: Date: Sun, 13 May 2001 09:47:32 +0000
Subject: Re: contributed examples
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-750@lists.php.net to get a copy of this message
At 09:58 10/05/01 -0500, Monte Ohrt wrote:
I started a new directory to place contributed examples. Let me know if you have examples you'd like to contribute, it can go here. http://www.phpinsider.com/php/code/Smarty/contribs/examples/
Hello I’ll send some example as soon as I’ve time to package things properly…. In the mean time here is a way to explore…. The couple XML/XSL is the archetype of the paradigm “separate the content and the presentation from the logic or the devil will come and kick your ass” (TM ) I used XML/XSL for some times (in the Java world with Apache Project Cocoon servlet) and it is very great cool and every thing you want, except in two important areas :
1)      XSL is a language for sadomasochist (I have nothing against sadomasochists but outside the web development world). It is absolutely impossible to give XSL work to a designer, even seasoned developers get hysteric with it
2)      There is no tool for writing XSL usable by an average mortal
The result is that XML/XSL is a wonderful idea, that will probably be THE idea in the web development world, but today its pure theory (by the way I’ve never seen a "normal" web site built by a classical developers/designers team using XML/XSL) In the site I’m building I use a lot of XML and I’m realizing that XML->php->Smarty Is very close to this “separate the content and the presentation from the logic or the devil will come and kick your ass” (TM) paradigm… without all current XSL drawbacks I have real separated content (XML files) real separated presentation (Smarty templates) and real separated logic (php scripts) and the main difference with XML/XSL its that even myself can do it (that means that every body can :-) Luc

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