Slashdot Mirror


A Piece of CherryPy for CGI Programmers

An anonymous reader writes "IBM developerWorks is running an article outlining the strengths and offering some helpful advice on the Python framework 'CherryPy'. CherryPy uses the same concepts as CGI to bind a web server to a web application, but it improves performance and gains persistence across requests by handling all its requests within a single process."

2 of 193 comments (clear)

  1. That's the same thing as a servlet by irritating+environme · · Score: 1, Redundant

    Welcome to 1998.

    --


    Hey, I'm just your average shit and piss factory.
  2. Quick fix for 2.1 by mav[LAG] · · Score: 0, Redundant

    If you're like me and downloaded the latest cherrypy to follow along with the article, there's a quick fix that will make version 2.1 work with it. Just change any lines that say:

    from cherrypy import cpg

    to:

    import cherrypy as cpg

    More info here.

    --
    --- Hot Shot City is particularly good.