On 2004-10-22, Thilo Planz <[EMAIL PROTECTED]> wrote:
>
> I am not sure this needs to be implemented as a plugin, though.
> Rather than overriding CGI::App's methods that call the query object,
> it would be nice to have
> a wrapper around Apache::Request that supplies the "missing" methods.
> That wrapper would function like a normal CGI.pm object for all the
> CGI::App cares.
I like this idea. It seems like there would be some edge cases, though.
If you set something with 'param' with one object, you would want it to
appear in the other ones. It seems that to be truly transparent,
you have to sync the params back and forth between the objects each time
you switch from one to the other. Could be a real pain.
> It would work as a drop-in replacement, just like CGI::Simple.
CGI::Simple is only a replacement for /most/ methods. It has several
documented differents. I believe it handles file uploads a little
diferently, not to mention missing of all the HTML generation methods.
( I still use popup_menu() ).
As a tangent, does anyone know of a module that compliments CGI::Simple
by providing a few HTML generation methods ( like popup_menu()? ).
Mark
--
http://mark.stosberg.com/
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/[EMAIL PROTECTED]/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]