On 08/01/12 17:31, Alex Railean wrote:

1) I'll document undocumented features that was added with this
release. E.g. the spyne.auxproc package, or the new Twisted
integration, etc. Nobody uses these yet, so having docs for them is
not that critical :)
I see, but given that the thing I'm currently working on does have
some intersections with Twisted - I think it is natural if this is
what I begin with :-)

What I can write now is a beginner-friendly explanation of what you
shared in the previous emails:
- disable directory listing for the / path of the web-server
- adjust the system such that the web-service is available at /
   (instead of /appname/)


What else is new, and what else do you want the doc to reflect?


Well, there are two ways of integrating with twisted. Spyne's TwistedWebResource and Twisted's WSGIResource. With the former, your code runs inside the reactor loop, so you should be very careful and use twisted's async primitives everywhere. The latter is just a way of integrating your existing code inside reactor loop -- every request still runs in its own thread.

See the difference for yourself: https://github.com/arskom/spyne/tree/master/examples/twisted

The suppression of static serving is just a rather irrelevant side effect. I've updated the run_twisted docstring for you as well.

Best,
Burak

_______________________________________________
Soap mailing list
[email protected]
http://mail.python.org/mailman/listinfo/soap

Reply via email to