Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Re: More on Web Application Frameworks

by drewbie (Chaplain)
on Apr 09, 2002 at 16:11 UTC ( [id://157757]=note: print w/replies, xml ) Need Help??


in reply to Re: More on Web Application Frameworks
in thread More on Web Application Frameworks

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.

  • Comment on Re: Re: More on Web Application Frameworks

Replies are listed 'Best First'.
Re: Re: Re: More on Web Application Frameworks
by perrin (Chancellor) on Apr 09, 2002 at 16:28 UTC
    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.
Re: Re: Re: More on Web Application Frameworks
by lachoy (Parson) on Apr 09, 2002 at 16:25 UTC

    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 :-)

        Hopefully this summer. I've recently been a little burned out on development, and since I won't be going to YAPC or TPC some of the immediacy for development isn't there anymore.

        The development cycle will be much more concise (one of the major complaints), and it will be easier to add custom management tasks for automation. (The rewritten oi_manage part is mostly done, and it kicks butt.)

        Performance under CGI mode will probably be like swimming in maple syrup during a blizzard. Then again, I haven't done it yet so I shouldn't be too quick to say that. I actually did create a custom CGI adaptation of OI about 18 months ago and it was quite usable. But it wasn't doing as much back then...

        Chris
        M-x auto-bs-mode

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://157757]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2024-04-25 07:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found