in reply to More on Web Application Frameworks

Unfortunately, you really limit yourself when you eliminate mod_perl. The frameworks I think are closest to what you're looking for are OpenInteract and Apache::PageKit, but neither of those will work with CGI. That leaves you with things like CGI::MxScreen or CGI::Application, plus Template Toolkit or HTML::Template.

Replies are listed 'Best First'.
Re: Re: More on Web Application Frameworks
by drewbie (Chaplain) on Apr 09, 2002 at 16:11 UTC
    Seems like I remember Chris saying that losing the mod_perl dependence was something relatively high on his TODO list. While I haven't looked at the code lately, it might be something easy to do. I remember one application that "required" mod_perl because it used $r->print() and Apache::Request methods that have CGI counterparts. I think I spent 10 minutes changing it to run under CGI.

    At a minimum you should probably look at the frameworks Perrin mentioned because they have a lot of very useful functionality you might be able to implement for your framework.

      I think the reason OpenInteract needs mod_perl has more to do with performance than with specific module dependencies. The life-cycle of mod_perl applications allows you to use a larger codebase without the speed penalty of compiling it on each request, and cache expensive resources like database handles. I know that people have made, for example, Mason run under CGI, but it was too slow to be useful that way.

      Relatively high -- it will be in the next version. (But then, everything will be in the next version :-)

      Chris
      M-x auto-bs-mode

        Glad to hear it. Do you have an idea when this version will be released? I'd love to start using it for my larger freelance projects, but lack of CGI support has been hindering that. And I love that the development process will be easier. The current dev cycle is one of the things that kept me from investigating it more. There is so much I do like about OI, and I really want to use it in production. Keep up the good work!

        Update: On another note, have you measured the performance under CGI mode? I don't mind some impact since the shared server is well powered (it's at pair Networks :-)