On Feb 6, 2007, at 4:04 AM, Issac Goldstand wrote:
Maybe I'm missing something, but why not autodetect Apache2::Request + mod_perl2 presence and fallback to CGI if it doesn't work? Something like:
I'm going to talk in context of CGI::Apache2::Ajax, as I haven't had time to look at the rest.
Personally, I would like to see something in terms of ENV variables that one can set to force it to use libapreq or cgi pm Thats just because every now and then I switch from one to the other to debug
i only briefly looked at the code, but I believe this would be separate from the $ENV{MOD_PERL} and the global $CGI::Apache2::Ajax::MOD_PERL it would be more like a CGI::Apache2::Ajax::USE_MOD_PERL_IF_AVAILABLE , so one could change the behavior on the fly -- just an idea.
my other comment is the name:its just a bit confusing as it doesn't really handle a lot of functionality and abstracts other items. perhaps something like CGI::Apache2::AjaxProvider , Apache2::AjaxProvider, or even CGI::AjaxProvider. also , just a thought - but something like that seems more inline with the purpose of your module.
anyways, as always - great work. can't wait to use them -- i know i will shortly.
// Jonathan Vanasco| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| SyndiClick.com| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| FindMeOn.com - The cure for Multiple Web Personality Disorder | Web Identity Management and 3D Social Networking| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| RoadSound.com - Tools For Bands, Stuff For Fans | Collaborative Online Management And Syndication Tools| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.