Re: [PHP Template] Re: [PHP3] Template Discussion
| From: | Tobias Ratschiller | Date: | Thu, 23 Mar 2000 17:16:31 +0000 |
| Subject: | Re: [PHP Template] Re: [PHP3] Template Discussion | ||
| References: | 1 2 | Groups: | php.template |
| Request: | Send a blank email to php-template+get-449@lists.php.net to get a copy of this message | ||
> And we already have a library that does this in PHP4, which is
> the severely underdocumented and highly experimental DomXML
> extension by U. Steinmann. Inflammatory personal opinion:
> In my not so humble opinion that should become the PHP template
> system and the current template approach should be abandoned,
> because it does not contain anything that can't be done with
> if() and here documents. But I suggested thing like that back
> in the days of PHP3 RC2, and got toasted for that. 1/2 :-)
I don't see XML (and XSL/DSSSL/whatever) conflicting with a template based
approach to web design. Your designers won't have any desire to learn XSL,
and if you start adding style information to a XML structure in PHP (be it
with LibXML or Expat), you've lost your separation again.
LibXML is great anyway, of course, and a XSL processor inside PHP would be
greatly appreciated. :)
-Tobias