Re: Apache2
Jonathan Swartz <[email protected]>
| Newsgroups | gmane.comp.web.mason.devel |
|---|---|
| Message-ID | <[email protected]> |
> On Mon, 26 Jul 2004, John Williams wrote: > > >>On Mon, 26 Jul 2004, Dave Rolsky wrote: >> >>>Sounds good. I did check in some preliminary work on the new handler >>>code, so you should probably think about making a module called >>>HTML::Mason::Handler::mod_perl2 or something like that (::Apache2). >> >>I'll think about it, but I'm not sure the changes to ApacheHandler will be >>extensive enough to warrant a whole new module. Apache/test.pm is leading >>the diffstat so far. > > > Well, I was thinking it might be a subclass. I really need to go in and > rewrite ApacheHandler & CGIHandler the way I have in mind so you can see > what I'm thinking of. But I don't really want to see lots of branches > based on the mod_perl version. If you can do it without that, it'd be > slick. A subclass does make intuitive sense, but we shouldn't design it that way unless we can solve the subclassing-hell problem that occurs when users want to subclass our parent classes. (Example: consider how hard it is for a user to use their own subclass of Component.pm right now, given that Subcomponent.pm inherits from Component.pm). Jon ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click