Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Twisted Network Programming Essentials 1st Edition
There is a newer edition of this item:
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:
- Installing Twisted
- How to make TCP connections
- How to use Twisted to work with the Web
- Twisted's authentication framework
- Usenet and SSH clients and servers
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.
- ISBN-100596100329
- ISBN-13978-0596100322
- Edition1st
- PublisherO'Reilly Media
- Publication dateOctober 30, 2005
- LanguageEnglish
- Dimensions7 x 0.57 x 9.19 inches
- Print length240 pages
Editorial Reviews
Book Description
About the Author
Abe Fettig is a software developer and maintainer of Hep, an open source message server that makes it possible to transparently route information between RSS, email, weblogs, and web services. He speaks frequently at software conferences including PyCon and lives in Portland, Maine with his wife, Hannah.
Product details
- Publisher : O'Reilly Media; 1st edition (October 30, 2005)
- Language : English
- Paperback : 240 pages
- ISBN-10 : 0596100329
- ISBN-13 : 978-0596100322
- Item Weight : 13.6 ounces
- Dimensions : 7 x 0.57 x 9.19 inches
- Customer Reviews:
About the author

Discover more of the author’s books, see similar authors, read book recommendations and more.
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on Amazon-
Top reviews
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
On the downside, one of those shared values seems to be "documentation doesn't matter."
Twisted is well-known for being very poorly documented, forcing developers to regularly scan through mountains of abstracted source to find out what they need. I was hoping that this book would address that issue, by clearly documenting how and why Twisted works, what the different interfaces are, etc.
Unfortunately, it doesn't; instead, it only leads you through a number of canned examples. As soon as you want to step outside of any of the capabilities that's covered in them, you're on your own.
This book doesn't introduce any of the Twisted concepts. It's just a bunch of near useless recipes without decent explanations. The book entirely consists of small sections of a couple of pages. There will be a couple paragraphs of something that Twisted might be used for, a page or two of code implementing it, and finally a page explanation of what was done. I wouldn't say that there's anything fundamentally wrong with presenting information in this way, but a book cannot stand completely on it.
There's no discussion on the overall structure or theory about the Twisted framework. The reader is suddenly thrown into these small recipes right away without much explanation.
I can usually pound through books like this. I read Lutz's "Programming Python" (~1200 pages IIRC)in about a week. However, I can't get beyond page 40 here. There's no cohesion. I don't feel like I'm learning anything about Twisted beyond the myopic recipe on which the author is currently focusing.
I'm just starting with the Online documentation, and it's much, much better. I would recommend starting online.
Fundamentally, this book doesn't fail because it's too advanced for beginners (Twisted beginners, not Python -- Python experience is a must for any level of Twisted development). It fails because it doesn't build upon itself or present a clear explanation of what Twisted is or does.
Do not buy.
The tutorials described were good to get someone familiar with the syntax and to show the basic implementation of twisted, but more time is spent reading the book then it would take just to get the documentation and learn it hands on. Any programmer that has poured a few hours into researching code and documentation would feel that this book was a waste of time.
So if you are new to Python and need to learn network programming this book should be able to point you in the right direction, but if you are an experienced programmer, just use the documentation on the website and donate some money to the maintainers instead.
This book disappointed me. It went through some of the concepts of Twisted without really going into the details about some of the best parts of Twisted. The concepts of deferreds and the reactor event loop were skimmed over too quickly, and I never felt like I knew enough to implement any sort of server in Twisted.
There are better resources on the web to learn to develop with Twisted than this book provides.
Top reviews from other countries
Having now pretty much mastered twisted I can say that this book was less help than it should have been.
It lightly covers the many frameworks available in twisted: servers, clients, web, web servers, web rpc, authentication, mail, nntp, ssh, and processes. There is an example for everything.
The book is missing an explanation of the framework of twisted which is essential to using it. For instance the crucial subject of Deferred items was covered in 4 pages whereas it really deserved at least chapter on its own.
If you want to do something which is covered directly in the book then the book will make it easy. If it isn't covered directly then you'll struggle. I regret to say I got more out of reading twisted's source code than I did from this book.

