Date: 11/23/00
- Next message: Peter Bowen: "[PHP-DEV] PHP-Developer website"
- Previous message: Jade Nicoletti: "[PHP-DEV] Re: output buffering"
- In reply to: Jade Nicoletti: "[PHP-DEV] Re: output buffering"
- Next in thread: André Langhorst: "Re: [PHP-DEV] Re: output buffering"
- Reply: André Langhorst: "Re: [PHP-DEV] Re: output buffering"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
That has nothing to do with that - you seemed to recode major parts of the
output buffering mechanism, whereas adding chunk support shouldn't be more
than changing 20-30 lines in the code.
I don't agree that only chunked buffering makes sense - in the vast
majority of cases, full output buffering would be fine. With very large
output, chunked buffering is probably better.
Zeev
At 20:10 23-11-00, Jade Nicoletti wrote:
>I'm a perfectionist ;) That's why. Only chunked buffering makes sense if
>one uses it with a handler (performance wise).
>
>-Jade.
>
>On Tue, Nov 21, 2000 at 04:18:05PM +0200, Zeev Suraski wrote:
> > You've made some pretty revolutionary changes to the output buffering
> > code... The question is why :)
> >
> > Buffering blocks, and invoking handler functions every time the buffer
> gets
> > full (instead of resizing it) makes sense, and is something I've been
> > meaning to do at some point or another. But it really doesn't require the
> > huge rewrite you've made...
> >
> > So, I go to back to the original question - why? :)
> >
> > Zeev
> >
> > At 16:03 21-11-00, Jade Nicoletti wrote:
> > >I'm not happy with the output buffering as it is now. There should be a
> > >possibilty to just buffer blockwise. I've tryed to implement it, but my
> > >knowledge about zend internals/macros (at it's current stage) isn't
> > >sufficient.
> > >
> > >I appended my work, so that you can look at it and if you think it's a
> good
> > >thing, you can fix it and integrate it.
> > >
> > >I wannted to do my work on the output compression handler on better base,
> > >that's way I've first tried to do this stuff.
> > >
> > >
> > >Current handler API:
> > > ob_start(string handler);
> > > string handler(string entire_output);
> > >Proposed new handler API:
> > > ob_start(string handler [, int flags]); # flags: 1 -> blockwise..
> > > string handler(string chunk [, int flags]); # flgs: 1 -> not
> > > last chunk
> > >
> > >I hope you got it :)
> > >
> > >-Jade.
> > >
> > >PS: feel free to ask your questions :)
> > >
> > >--
> > >=======================================================================
> ========
> > > Jade Nicoletti Nicoletti Net Services Tel. 01 240 4774
> > > Geschäftsleitung Postfach 2519 Fax 01 240 4775
> > > System-Administration 8021 Zürich
> > >============================================[ Weitere Infos:
> > >http://nns.ch/ ]==
> > >
> >
> > --
> > Zeev Suraski <zeev <email protected>>
> > CTO, Zend Technologies Ltd. http://www.zend.com/
>
>--
>===============================================================================
> Jade Nicoletti Nicoletti Net Services Tel. 01 240 4774
> Geschäftsleitung Postfach 2519 Fax 01 240 4775
> System-Administration 8021 Zürich
>============================================[ Weitere Infos:
>http://nns.ch/ ]==
-- Zeev Suraski <zeev <email protected>> CTO, Zend Technologies Ltd. http://www.zend.com/-- 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: Peter Bowen: "[PHP-DEV] PHP-Developer website"
- Previous message: Jade Nicoletti: "[PHP-DEV] Re: output buffering"
- In reply to: Jade Nicoletti: "[PHP-DEV] Re: output buffering"
- Next in thread: André Langhorst: "Re: [PHP-DEV] Re: output buffering"
- Reply: André Langhorst: "Re: [PHP-DEV] Re: output buffering"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

