httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Bannert <aa...@clove.org>
Subject Re: PHP as a filter (was: Apache 2.0 Numbers)
Date Tue, 25 Jun 2002 04:34:34 GMT
On Mon, Jun 24, 2002 at 09:15:41PM -0700, Ian Holsman wrote:
> >No frickin' way. PHP is a filter, not a handler. Something else generates
> >the content, then PHP parses it and executes it.
> 
> It should also be a handler because in the normal case it just reads a 
> flat file off the disk.
> so that in the >general< case you won't get the slowdown penalty for the
> people who are going to be use it ontop of something else.
> 
> I'm not saying that you shouldn't have a filter mode.. just that you 
> should have a handler mode as well. (and so should mod-include IMHO)

In an ideal world, the filter system would make the distinction
transparent, both in terms of the API and the performance. I think
we should make this our long-term goal.

-aaron

Mime
View raw message