CGI::Maypole, etc. Re: [Maypole] Maypole comparisons/competitors

Simon Cozens simon@simon-cozens.org
Thu, 4 Mar 2004 17:53:05 +0000


Dave Ranney:
> I'd very much like to have a CGI-based driver for Maypole, to sit 
> alongside Apache::MVC. In fact, I started to investigate what it would 
> take to put one together, but got stopped cold by Maypole.pm's reliance 
> on Apache::Constants.

Well, I took an axe to this today, and Maypole itself is now clear of any
dependence on Apache::Constants and the ->{ar} slot. Grab the changes from CVS
if you like. 

This should make writing a CGI::Maypole much, much simpler. It should help
with Apache2::MVC too, although that may just be CGI::Maypole in disguise. I'm
not sure.

I'm currently trying to work out what's the best way to handle form upload
data, since CGI.pm and Apache::Request handle it in wildly different ways.
Maybe I should abstract that out into the request object in the same way that
I've abstracted out POST and GET data.

-- 
About the use of language: it is impossible to sharpen a pencil with a blunt
ax.  It is equally vain to try to do it with ten blunt axes instead.
		-- Edsger Dijkstra