tags:

views:

566

answers:

3

Hi,

I am trying to start learning twisted for socket servers creation. I want to add some useful features (like auth, and maybe some other). Maybe someone can point me to a good tutorial which will help me to start (+ maybe some other ideas)

+5  A: 

Look here: Twisted Web in 60 seconds. That's a group a blog posts describing step by step how to do lots of common stuff with Twisted, all written by Jean-Paul Calderone, the biggest contributor of Twisted. It's really where you should start.

After that, look at the Twisted core documentation then refer to the API and then into the source code.

Have fun!

Etienne
+10  A: 

There's a great tutorial here - it's usually the one I send to new Twisty's :-)

http://krondo.com/blog/?page%5Fid=1327

Its worth remembering that Twisted programming is more of a thinking paradigm than a programming one. Also, it's worth doing away with the client server model too - in Twisted there's just one broker talking in either direction to another.

Take a look here after the above too:

http://twistedmatrix.com/documents/current/core/howto/pb-intro.html

Enjoy :-)

Ben Hughes
That's a nice list of tutorials. +1
Maiku Mori
A: 

You might want to also read answers to very a similar question which I asked.

Maiku Mori