I would argue that the main reason for migrating is because one can.
If you don't use anything from A::Request, then migration isn't much
more than a nifty-keen. However, by migrating, you place yourself more
fully in the pipeline. This allows you to, if you so desire on a
runmode by runmode basis, to take advantage of the full mod_perl
interface. You cannot do this if you stick to A::Registry.
Personally, I wouldn't bother petitioning the MP crew for full CGI
compatibility in A::Request. CGI is an overbloated piece of
Frankensoftware. Granted, it's personally responsible for at least 80%
of Perl's usage as a language, but it's not the best designed piece of
code in the world. Apache/mod_perl, on the other hand, is very well
designed. I would hesitate to force a clean piece of software to
emulate a piece of Frankensoftware, just because it would make our
lives easier.
I prefer the idea of an Apache::Request::CGI_compat, which is *NOT* a
child of Apache::Request. Instead, it HAS-A A::Request, as well as
other bits and pieces, like Apache::Cookie (or whatever). It would
then act as a compat layer, dispatching to the right pieces as
appropriate.
Rob
On Tue, 16 Nov 2004 17:10:08 -0500, Jesse Erlbaum <suppressed> wrote:
> Hi William --
>
> > While you're at it, why not also petition for other common CGI
> > interfaces such as Dump. In porting my code to use A::R this
> > weekend, I
> > was surprised that there was not better interoperability. Kinda makes
> > migrating more effort than it should be. Perhaps there's a good reason
> > for not including these methods.
>
> I must ask: Why are you migrating in the first place?
>
> Performance benefits over Apache::Registry seem marginal when you
> consider the total request time (network transit, database access, etc.)
> OTOH, functionality takes a hit, as you are now seeing.
>
>
>
> -Jesse-
>
> --
>
> Jesse Erlbaum
> The Erlbaum Group
> suppressed
> Phone: 212-684-6161
> Fax: 212-684-6226
>
> ---------------------------------------------------------------------
> Web Archive: http://www.mail-archive.com/suppressed/
> http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
> To unsubscribe, e-mail: suppressed
> For additional commands, e-mail: suppressed
>
>
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.