[Twisted-Python] To twisted.web beginners: don't use RPYs

Bill Gribble grib at billgribble.com
Mon Jun 23 13:20:02 MDT 2003


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

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

b.g.

 






More information about the Twisted-Python mailing list