RE: [PHP] Re: Templates: how to get that HTML outta my templates!
| From: | Mikusch, Rita | Date: | Wed, 23 Jan 2002 17:44:11 +0000 |
| Subject: | RE: [PHP] Re: Templates: how to get that HTML outta my templates! | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-81729@lists.php.net to get a copy of this message | ||
Thank you for the reply. I'm trying to "roll my own" template system, but
don't really know how to go about some of the details. My best bet would
probably be to install phplib and dissect it....see how the experts did it!
At the very least it should be a great learning experience :)
thanks! Rita.
-----Original Message-----
From: Nick Wilson [mailto:nick@explodingnet.com]
Sent: Tuesday, January 22, 2002 11:54 PM
To: php-general@lists.php.net
Subject: Re: [PHP] Re: Templates: how to get that HTML outta my
templates!
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
* and then J Wynia blurted....
> One solution that I'm leaning on more and more is XML/XSLT. Your business
I've not used that system myself but if the point is to seperate HTML
from PHP then I think that's a little 'over-kill'. AFAIK the XML/XSLT
combo is best for sights that feature message boards where users are
likely to want to use bold, italic and otherwise prettified text.
Correct me if I'm wrong, it wouldn't be the first time :)
> > When you use template driven websites, do you find there are certain
> > projects they work better for. Are they more appropriate for larger
> websites
> > with larger groups of people working on them?
I find templates good for *everything* I won't give a detailed
explanation on the list (I think I've already posted to this thread) but
a little while ago I wrote some articles on the subject. A kind of
introduction if you will.
You can find them at:
www.explodingnet.com/articles/latest/6
www.explodingnet.com/articles/latest/7
- --
Nick Wilson
Tel: +45 3325 0688
Fax: +45 3325 0677
Web: www.explodingnet.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE8TmwjHpvrrTa6L5oRAqqxAKCQmlHTadf0S3J053WZH3KqoQZD4ACgj2Wo
ixp0Brkp2lYHvyvijdQQqJ8=
=olml
-----END PGP SIGNATURE-----