Twisted Network Programming Essentials from O'Reilly is a task-oriented look at this new open source, Python-based technology. The book begins with recommendations for various plug-ins and add-ons to enhance the basic package as installed. It then details Twisted's collection simple network protocols, and helper utilities. The book also includes projects that let you try out the Twisted framework for yourself. For example, you'll find examples of using Twisted to build web services applications using the REST architecture, using XML-RPC, and using SOAP. Written for developers who want to start building applications using Twisted, this comprehensive guide presents examples of the most common tasks you'll face when building network applications. It also helps you understand the key concepts and design patterns used in Twisted applications. Here are just some of the topics discussed in Twisted Network Programming Essentials : Along the way, each lesson is supported by thorough notes and explanations to make absolutely certain you're up to speed with this leading-edge Python technology.
The book covers one of the best Python networking frameworks - Twisted and the contents are very promising.
Jess covers the Twisted Framework's essentials very well. You'll learn about deferreds like never before. It's really visual and easy to understand. After all, they're the core of writing better async code using Twisted, so understanding them will help you in the long run. Along the way you'll learn a bit of Threading and common protocols like IRC, HTTP, SSH and SMTP.
However delivering the info is one thing, but making sure that it sticks to the reader - another. This is where the book falls short. The code you'll write in the first 3-4 chapters is mostly what you'll iterate over and over. This leaves no sense of accomplishment, when you write your 10 lines code from chapter 1-2 plus 5-10 new lines from the given newer chapter, over and over again. The suggested exercises are mostly meaningless and won't appeal to anyone who expected to build a complete or reasonable to complete app.
If you're in a hurry, I recommend you going through Deferreds, Threads, Testing and the above mentioned protocols. Anything else can be picked up from the docs while coding for your needs.
In the end, experienced network programmers may know what to do next with the knowledge, but novice network programmers will feel left out after being unable to find a purpose where to apply the contents of Twisted Network Programming essentials.
I'm sure author, Jessica McKellar could share a lot more on the topic. Maybe she was limited on pages, but surely if this was a 300-400 pages book - we would learn a lot more.