libapreq2 versus everything else

2004-08-25 Thread Dan Brian
Hi - Is there a document (or person) with recommendations of using the libapreq (2) Perl modules versus the Apache::RequestRec/Apache::RequestIO approach described in all the perl.apache.org docs? Is libapreq a separate effort from mod_perl 2 and its Apache::* space? It's fairly confusing at th

Re: libapreq2 versus everything else

2004-08-25 Thread Stas Bekman
Dan Brian wrote: Hi - Is there a document (or person) with recommendations of using the libapreq (2) Perl modules versus the Apache::RequestRec/Apache::RequestIO approach described in all the perl.apache.org docs? Is libapreq a separate effort from mod_perl 2 and its Apache::* space? It's fairl

Re: libapreq2 versus everything else

2004-08-25 Thread Dan Brian
From the mod_perl 1.0 land: http://perl.apache.org/docs/1.0/guide/ performance.html#Apache__args_vs__Apache__Request__param_vs__CGI__param And there was a report recently on the apreq-dev list, which shows an even better performance of apreq under Apache2. Thanks Stas. I understand the benefits

Re: libapreq2 versus everything else

2004-08-25 Thread Markus Wichitill
Dan Brian wrote: I understand the benefits of a C binding to the Apache API over, say, CGI.pm processing using the environment vars (which is why all my projects use libapreq 1). But since both mod_perl2's Apache::RequestRec and libapreq's Apache::Request implement XS glue to the Apache API (

Re: libapreq2 versus everything else

2004-08-25 Thread Dan Brian
While the whole issue has always been somewhat confusing, there's no more overlap in MP2. Apache::Request inherits from Apache::RequestRec just like it did from its MP1 equivalent Apache.pm before, and adds parsing and handling of request parameters incl. multipart/form-data and uploads, as wel

Re: libapreq2 versus everything else

2004-08-26 Thread Ken Burcham
I heartily agree... it would have saved me a lot of time coming into mod_perl2 land... ken. On Aug 25, 2004, at 11:30 PM, Markus Wichitill wrote: I think adding Apache::Request to the mod_perl distribution might save a few souls from going PHP. Having all these fancy APIs but not basic stuff li

Re: libapreq2 versus everything else

2004-08-26 Thread Joe Schaefer
Ken Burcham <[EMAIL PROTECTED]> writes: > I heartily agree... it would have saved me a lot of time coming into > mod_perl2 land... The reason it isn't in mp2 is IMO largely a matter of timing (and a bit of politics). apreq-dev wanted to get the C stuff included in httpd's distro, that way mp2 c