Re: [Iamb-dev-internal] iamb-dev and modperl
Status: Beta
Brought to you by:
rbowen
From: Rich B. <rb...@rc...> - 2001-01-31 01:16:49
|
Matt Cashner wrote: > > i had mentioned to you, rich, that i was going to look at rewriting the > current iamb functionality as a series of modperl handlers just for the > fun of it and because i'm bored. is the cvs rearrangement of the dev tree > an indication that you like this idea? :) > > basically, i'm asking what the frell is going on in the dev tree and what > direction you are apparently gunning for in this rearrangement. The rearrangement and general clean-up is for a variety of reasons. First, in the spirit of write-one-to-throw-away, I'm doing a little bit of throwing away. Most of this stuff was things that needed to go away in order to facilitate the move to the StdModule-ish structure. Other things, like the move of the unclassifieds into a subdirectory, were more of getting clutter out of the way, in case we need it some day. But, yes, I've been giving some thought to the notion of doing things as a set of mod_perl handler. And, perhaps a little more ambitiously, I'd like to pursue whether we can do it as *both* a mod_perl handler *and* CGI, and factor out the parts that are in both. Basically, the handlers would be written in such a way that everything can be called as an object method if we want to. And the CGI programs would be written in such a way that that *only* things that they did were things that mod_per does not do - stuff like CGI-ish form handling, and any cookie stuff that was necessary, and any session management that we can't rely on mod_perl to do for us, and for *anything* else, the make method calls into the handlers/modules. I think that this is potentially difficult, and I've never seen any project do this, but those are incentives, rather than reasons to not do it, dontcha think? Anways, I was going to pause for a breather in my slash-and-burn to suggest this and see what peoples' reactions would be. I suggested the notion to Ken on Sunday night, and he, with of course no knowledge of mod_perl and hence very gullible, thought it was a great idea. And, all those folks that have been looking for an excuse to learn mod_perl can listen a little closer and perhaps contribute something. Reactions? Comments? Questions? Strange snide remarks? -- Rich Bowen -- Director of Web Application Development http://www.cre8tivegroup.com/ -- ri...@cr... Have trouble remembering things? http://www.mymissinghead.com/ |