subclassing requests & mason 2.0

Hans Dieter Pearcey <[email protected]> Tue, 15 May 2007 19:29:58 -0400
Newsgroups gmane.comp.web.mason.devel
Message-ID <[email protected]>
[intentional list change]

On Tue, May 15, 2007 at 02:47:48PM -0700, Jonathan Swartz wrote:
> The code may be from the docs, but it  seems a little suspect to me. For
> example, one could have  H::M::ApacheHandler loaded even if one was using
> H::M::CGIHandler.

I agree.  I think Dave has mentioned that the alter_superclass thing makes him
sad (he probably didn't phrase it quite that way).

Also, CGIHandler and H::M::Request::CGI have always seemed like second-class
citizens in the mason world to me; it's clear that things evolved first to
handle Apache/mod_perl and then sort of slowly to also cover CGI.

Abstraction of the input method might be a useful design goal for 2.0.  It's
something that Catalyst has done very well, as far as my experience goes.

hdp.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/