Date: 06/25/00
- Next message: Thomas Wolfram: "RE: [PHP-DEV] PHP 4.0 Bug #5225: Compile problems with reentranttime functions (*_r)"
- Previous message: Stefan Livieratos: "Re: [PHP-DEV] 4.0.1 Release Candidate packaged"
- In reply to: rubys <email protected>: "Re: [PHP-DEV] PHP XSLT extension"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sun, 25 Jun 2000 rubys <email protected> wrote:
>
>
> Andi Gutmans wrote:
> >> I am not sure I quite understand this. Do you mean a mechanism for
> >> automatically
> >> choosing a stylesheet according to the requesting user agent?
> >
> >No I mean the PHP script could decide what stylesheet the PHP output
> >support should use. It just needs to decide before it starts outputting
> >the data which you want a stylesheet applied to.
>
> I originally had considered this and rejected it. For the wrong reason.
>
> In Cocoon, one defines a pattern of URLs which are to be mapped to a
> pipeline consisting of a generator, any number of filters, and a
> serializer. Most importantly, one could change the style of an entire site
> by changing a single line in a sitemap.
>
> In PHP, this same effect could be achieved via a require ('header.inc').
> In cocoon, there is considerable debate on how to represent logic in the
> sitemap - in PHP this would not be an issue.
>
> I'm sold.
Sold as you think it is a good idea; or sold you're going to do it? :)
Andi
>
> - Sam Ruby
>
> P.S. I can't seem to get to the Sablotron web site at the moment...
>
>
>
>
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Thomas Wolfram: "RE: [PHP-DEV] PHP 4.0 Bug #5225: Compile problems with reentranttime functions (*_r)"
- Previous message: Stefan Livieratos: "Re: [PHP-DEV] 4.0.1 Release Candidate packaged"
- In reply to: rubys <email protected>: "Re: [PHP-DEV] PHP XSLT extension"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

