Where can I find good python Twisted framework documentation, blog entries, articles, etc? [closed]

StackOverflow https://stackoverflow.com/questions/649029

  •  19-08-2019
  •  | 
  •  

Question

I'm playing around with Twisted and documentation found on their homepage doesn't answer all my questions.

The topic I am most interested at the moment is Twisted Application Framework. Also some open source servers using twisted framework would provide nice material for studying how it's all tied up together in a bigger project.

So far I've checked out iCal and read documentation on twisted website (3x) and few good articles I found in google.

Was it helpful?

Solution

The published book is pretty useless, in my opinion.

I recommend starting with the "deferred" docs online, and making absolutely sure you understand what asynchronous means and what deferreds are for. The best online docs that I've found are on the official site, though they could surely use some polishing:

http://twistedmatrix.com/trac/wiki/Documentation

The developers recommend reading the source as well, though if you have specific questions, I've found that the devs hang out and respond on both the IRC channel (#twisted on the freenode network) and the online mailing lists (There's a general and a twisted-web specific list)

As for blogs, there's at least the two below (both blogs are by twisted developers). I bet if you asked this same question on the twisted-python mailing list, you'd get a much better and more comprehensive answer than I could possibly give. :-)

http://oubiwann.blogspot.com/

http://glyph.twistedmatrix.com/

OTHER TIPS

I think you need to get your concepts right to start with. I found this blog post to be helpful.

Introduction to Asynchronous Programming and Twisted

Divmod has some medium sized projects which use Twisted and might make good additions to your reading list. Additionally, the Twisted Community Code in Launchpad will give you a much longer list of Twisted-based projects to look at.

I found the Twisted Network Programming Essentials book to be a useful guide when first learning Twisted. Although it is more of a Twisted "cookbook". Some of its "recipes" are useful.

There's an overview here: The Twisted Network Framework.

Bruce Eckel wrote a nice article that points out some of the weird names Twisted uses: Grokking Twisted. According to that article, there are some good examples in The Python Cookbook, 2nd Ed (O'Reilly).

This unofficial tutorial is, in my opinion, the absolute definitive way to learn Twisted.

It contains step by step examples on how to use everything from super basic to advanced features. Everything is motivated by first doing it the hard way so that you really understand what problem each part of the Twisted solves.

I've used software based on Twisted for five years but it was only after working this tutorial that I now really understand it and use it from scratch for my own programs.

This is not self-promotion. I do not know the author of the tutorial to which I linked.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top