[Twisted-Python] Twisted.web2 or Nevow?

Jean-Paul Calderone exarkun at divmod.com
Fri Apr 18 09:33:02 EDT 2008

On Fri, 18 Apr 2008 14:27:03 +0100, Simon Pickles <sipickles at hotmail.com> wrote:
>I want to add a simple http server to my game server to allow monitors and 
>GMs to use a web interface to access game state information.
>I also want to produce an integrated game web site.
>My game server is using a twisted.reactor to handle TCP connections. My 
>question is, which two similar technologies should I focus on to provide the 
>HTTP angle? twisted.web2 or Nevow?

See http://twistedmatrix.com/trac/wiki/TwistedWebPlan

There's also a dedicated web mailing list, twisted-web at twistedmatrix.com.

>So far I have mostly research Nevow, and seen how twistd is used to launch 
>the application. How would Nevow then be integrated with my own app and its 
>own reactor?

Nevow supplies you with a protocol factory.  You just set it up on the port
you want like any other factory.  There's nothing that particularly requires
twistd, although as with most Twisted applications, using twistd gives you a
lot of extra features with very little effort.


More information about the Twisted-Python mailing list