[Twisted-Python] To twisted.web beginners: don't use RPYs
2002 at weholt.org
Mon Jun 23 16:39:06 EDT 2003
I have the same experience. Making RPYs and running them using twistd has
been hyped as the right and *only* way to correctly develop web-apps in
Twisted. My current solutions is subclassing Resource and listenTCP etc. and
the thing works great.
Hopefully this is just misunderstandings and the documentation will be
updated to show us the perfect way to Twisted-enlightenment ;-)
Anyway, twisted is cool.
----- Original Message -----
From: "Bill Gribble" <grib at billgribble.com>
To: <twisted-python at twistedmatrix.com>
Sent: Monday, June 23, 2003 9:20 PM
Subject: Re: [Twisted-Python] To twisted.web beginners: don't use RPYs
> On Wed, 2003-06-18 at 17:32, Itamar Shtull-Trauring wrote:
> > Twisted is not PHP, you can have objects persist in memory without *any
> > work*. You'd be better off never using RPYs at all, in the vast majority
> > of cases.
> You guys need to get your story straight. radix and moshez both told me
> unequivocally on IRC that as a twisted.web beginner I should
> *definitely* be using RPYs, in fact that all twisted.web development
> should be done using RPY until the app was ready to be packaged and
> > site = server.Site(Simple())
> > reactor.listenTCP(8080, site)
> > reactor.run()
> ... and moshez barfed up a kidney when I said I was doing listenTCP
> manually, saying that listenTCP was about to be deprecated with extreme
> prejudice and should be avoided. No real reason given other than "it's
> a bad idea".
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
More information about the Twisted-Python