[Twisted-Python] Twisted.web2 or Nevow?

Simon Pickles sipickles at hotmail.com
Fri Apr 18 12:03:05 EDT 2008

Jean-Paul Calderone wrote:
> On Fri, 18 Apr 2008 14:27:03 +0100, Simon Pickles 
> <sipickles at hotmail.com> wrote:
>> Hi,
>> 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.
Thanks, That clears things up for me a lot.


Linux user #458601 - http://counter.li.org.

More information about the Twisted-Python mailing list