<br><br><div><span class="gmail_quote">On 2/7/06, <b class="gmail_sendername">James Y Knight</b> &lt;<a href="mailto:foom@fuhm.net">foom@fuhm.net</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Feb 7, 2006, at 4:09 AM, Todd Thomas wrote:<br>&gt; I find them extemely handy personally, how else are you going add<br>&gt; resources without resorting to restarting the server? But I guess<br>&gt; depends on what you are using them for. I tend to use twisted more
<br>&gt; for testing and experimenting, simpler than installing apache.<br>&gt; Unfortunately twisted-web doesnt have a wsgi implementation, I have<br>&gt; been messing around with django a bit trying to see how modular the
<br>&gt; code is.<br><br>You'll notice that I said I was open to them still being supported.<br>I'll take a submission of code + unit tests for it, or if not, will<br>get around to implementing it someday.<br><br>I'll also note, it should be possible to use 
twisted.web.script from<br>within a twisted.web2 server, although you won't be able to use web2<br>Resources in the rpys loaded by the twisted.web.script loader. (The<br>compatibility only works one way -- you can use old resources inside
<br>new ones, but not new ones inside old ones).<br><br>I think you might have meant this but it wasn't entirely clear so<br>I'll also note that twisted.web2 does support wsgi.<br><br>James<br><br>_______________________________________________
<br>Twisted-web mailing list<br><a href="mailto:Twisted-web@twistedmatrix.com">Twisted-web@twistedmatrix.com</a><br><a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web
</a><br></blockquote></div>It does support wsgi, I was playing around with it. I went back to twisted-web, I like its lower level approach. Using http.request directly vs. resources is nice since I can pretty much tell exactly what is going on. I love the fact that you can work at an extremely low level in twisted-web. I hope twisted-web2 doesn't get too high level. Resources are great when your making a standalone web app, but not so great when you are wanting to build frameworks on top of them. The biggest attraction for me in twisted is the fact that it pretty much allows you freedom to do anything. I am considering writing a wsgi handler for twisted-web. I think it would be a good project.
<br>