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."

3 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. Re:Obligatory by masklinn · · Score: -1, Redundant

    Nope, you fail, the semicolon doesn't exist in Python,

    units.smile.face.width = "Miles"; smile.face.width = "10";

    doesn't mean jack shit to a Python interpreter

    --
    "The way we can tell it's C# instead of Haskell is because it's nine lines instead of two." -- wadler
  3. 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.