Re: contributed examples
| From: | Alain Fontaine | Date: | Sun, 13 May 2001 09:42:02 +0000 |
| Subject: | Re: contributed examples | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-751@lists.php.net to get a copy of this message | ||
Hello Luc,
I agree with what you're saying about XML/XSLT. I am too using
XML->PHP->Smarty and that works very well. How do you parse your XML with
PHP? I'm using an XML class called xml.class.php from
http://www.hansanderson.com/php/xml/ and that one
works just perfectly fine
for what I need it with!
> -----Message d'origine-----
> De : Luc Saint-Elie [mailto:luc@saint-elie.com]
> Envoyé : dimanche 13 mai 2001 11:48
> À : smarty@lists.ispi.net
> Objet : [smarty] Re: contributed examples
>
>
> 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
>
> Ill send some example as soon as Ive 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
> Ive never seen a "normal" web site built by a classical
> developers/designers team using XML/XSL)
>
> In the site Im building I use a lot of XML and Im 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
>
>
> ---
> You are currently subscribed to smarty as: alain@nvision.lu
> To unsubscribe send a blank email to $subst('Email.Unsub')
> Visit Smarty's homepage at
> http://www.phpinsider.com/php/code/Smarty/