[Wolves] PHP templates

s parkes wolves at mailman.lug.org.uk
Wed Jul 30 10:00:01 2003


>From: Jono Bacon <jonobacon@yahoo.com>
>Reply-To: wolves@mailman.lug.org.uk
>To: wolves@mailman.lug.org.uk
>Subject: Re: [Wolves] PHP templates
>Date: Wed, 23 Jul 2003 18:47:31 -0700 (PDT)
>
>Hi Lee,
>
> > Could you post up the link of the disscusion about
> > templating for CMS's that
> > you showed to Jono. I'd be interested in reading
> > that, as I'd like to learn
> > about moving code away from content.
>
>The link that Aq showed me was a discussion on his
>site (www.kryogenix.org). Have a poke around until he
>finds and posts the link here.
>
>Referring to template systems, I have been messing
>with Smarty (http://smarty.php.net/) which in my use
>so far has been pretty cool. The whole templates issue
>is embroiled in discussion; in some it is useful to
>seperate layout and programming code, but in other
>ways it can complicate matters - like in smarty where
>you need to keep assigning variables to the smarty
>engine and learn their psuedo language to create the
>templates.
>
Smarty - learn html, learn php then learn another language to get it all to 
look nice, remove processor cycles at a rate of knots and repeat.

Might as well learn XSLT and do it properly ;-)

sparkes

_________________________________________________________________
Tired of 56k? Get a FREE BT Broadband connection 
http://www.msn.co.uk/specials/btbroadband