Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.

 

or
Sign in to turn on 1-Click ordering.
 
 
More Buying Choices
43 used & new from $5.18

Have one to sell? Sell yours here
 
   
Twisted Network Programming Essentials
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get yours here.
 
  

Twisted Network Programming Essentials (Paperback)

by Abe Fettig (Author)
Key Phrases: accepting mail, downloading mail, test page content, Perspective Broker, Done Figure, User Interface (more...)
3.5 out of 5 stars See all reviews (13 customer reviews)

List Price: $29.95
Price: $19.77 & eligible for FREE Super Saver Shipping on orders over $25. Details
You Save: $10.18 (34%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Want it delivered Friday, July 17? Choose One-Day Shipping at checkout. Details
28 new from $6.00 15 used from $5.18
Like this book? Find similar titles from O'Reilly and Partners in our O'Reilly Bookstore.

Frequently Bought Together

Twisted Network Programming Essentials + Foundations of Python Network Programming + Python Cookbook
Price For All Three: $93.23

Show availability and shipping details

  • This item: Twisted Network Programming Essentials by Abe Fettig

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details

  • Foundations of Python Network Programming by John Goerzen

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Python Cookbook by Alex Martelli

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details


Customers Who Bought This Item Also Bought

Python Cookbook

Python Cookbook

by Alex Martelli
4.3 out of 5 stars (42)  $32.97
Learning Python, 3rd Edition

Learning Python, 3rd Edition

by Mark Lutz
3.9 out of 5 stars (138)  $26.39
The Definitive Guide to Django: Web Development Done Right, Second Edition

The Definitive Guide to Django: Web Development Done Right, Second Edition

by Adrian Holovaty
4.2 out of 5 stars (23)  $29.69
Programming Python

Programming Python

by Mark Lutz
4.0 out of 5 stars (7)  $37.79
Python in a Nutshell, Second Edition (In a Nutshell (O'Reilly))

Python in a Nutshell, Second Edition (In a Nutshell (O'Reilly))

by Alex Martelli
4.5 out of 5 stars (40)  $26.39
Explore similar items

Editorial Reviews

Product Description
"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.



About the Author

Abe Fettig is a software developer, which means he designs and builds software. Abe specializes in making it easier and more fun to communicate and share information over the Internet. He's been writing web and Internet appications since 1998.

Abe is currently employed as a software engineer for JotSpot, helping develop the world's first (and best) application Wiki. He also maintains the Hep and Yarn open source projects, which make it easier to transfer and manage messages between blogs, email, and rss using the Twisted networking framework. Abe's book Twisted Network Programming Essentials was published by O'Reilly in 2005.

Abe lives in southern Maine with my wife, Hannah. He works mostly out of his home office but periodically visits the San Francisco Bay area. You can contact Abe by sending email to abe@fettig.net.


Product Details

  • Paperback: 236 pages
  • Publisher: O'Reilly Media, Inc. (October 20, 2005)
  • Language: English
  • ISBN-10: 0596100329
  • ISBN-13: 978-0596100322
  • Product Dimensions: 9.2 x 7.1 x 0.6 inches
  • Shipping Weight: 14.1 ounces (View shipping rates and policies)
  • Average Customer Review: 3.5 out of 5 stars See all reviews (13 customer reviews)
  • Amazon.com Sales Rank: #232,963 in Books (See Bestsellers in Books)

    Popular in this category: (What's this?)

    #27 in  Books > Computers & Internet > Networking > Network Programming

Inside This Book (learn more)

What Do Customers Ultimately Buy After Viewing This Item?

Twisted Network Programming Essentials
77% buy the item featured on this page:
Twisted Network Programming Essentials 3.5 out of 5 stars (13)
$19.77
Foundations of Python Network Programming
10% buy
Foundations of Python Network Programming 4.7 out of 5 stars (16)
$40.49
Practical Perforce
5% buy
Practical Perforce 4.6 out of 5 stars (19)
$26.37
Python Cookbook
5% buy
Python Cookbook 4.3 out of 5 stars (42)
$32.97

Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below.
(14)

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

13 Reviews
5 star:
 (3)
4 star:
 (4)
3 star:
 (3)
2 star:
 (2)
1 star:
 (1)
 
 
 
 
 
Average Customer Review
3.5 out of 5 stars (13 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
40 of 42 people found the following review helpful:
3.0 out of 5 stars The first Twisted book has made it to press. Is it the book you've been waiting for?, November 2, 2005
Check out the table of contents: The chapters are Getting Started, Building Simple Clients and Servers, Web Clients, Web Servers, Web Services and RPC, Authentication, Mail Clients, Mail Servers, NNTP Clients and Servers, SSH, and finally Services, Processes, and Logging.

That's a lot of distinct subjects in a two-hundred page book. The result is a good demonstration of how broad Twisted's domain is, but the chapters, for the most part, do not build on one another. While that allows you to skip the chapter on news servers and read the SSH chapter without much difficulty, it also means you're getting lots of separate chunks of knowledge that don't add up to anything greater than the sum of their parts.

I was hoping to see more material on general topics that apply to all Twisted programs. Interfaces are one example. Interfaces, as used in Twisted, are not a part of the Python standard library and I would not assume a reader to be familiar with them. But while Interfaces do come up in a number of the examples, nowhere does the author take the time to explain why you're importing from zope.interface or how and where Twisted uses them. Yes, there are examples, but nothing to help you understand the theory for when you have to write your own code.

Nowhere do we learn how to write tests for asynchronous functions. While the last chapter touches on the organization of services in a Twisted application, it fails to note basics like what method you'd want to implement to run tasks during a graceful shutdown. In all the attention to different network protocols, the framework aspect of Twisted seems to have been neglected.

So overall, if you want to embed an email server in your application, this book will give you a place to start. If you want a hard copy text to demonstrate the range of applications Twisted can reach, this book will do that. But if your main concern is that Twisted makes your head hurt and you want someone to make it seem less alien, I'm not sure this is the book you've been waiting for.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
12 of 12 people found the following review helpful:
2.0 out of 5 stars Disappointing, July 19, 2006
By Arnar Birgisson (Reykjavík, IS Iceland) - See all my reviews
This book was disappointing to me. It does not cover Twisted fundamentals very well or comprehensively, but is rather a collection of few large code-examples and verbose commentary. For an introductory (or 'essentials' as the title state) material to Twisted, you are better off with the online manuals.

Granted, there are a few "oh - that's clever" moments in the book, but those are buried in the examples and hard to look up for future reference.

The bulk of the book shows examples for web clients and servers (simple stuff, not useful since easier-to-use and more powerful tools/libraries exist) and low-level pop, smtp, imap and nntp servers and clients (probably not very common in today's applications).

I haven't used Twisted extensively in a real project, but I have read the online docs and fiddled with small scripts - and the "new" things beyond them that I discovered reading this book can be counted on the fingers of one hand (namely Perspective Broker, authentication and SSH stuff).

I would have liked this book to be a more comprehensive overview of twisted's fundamentals and the base-protocols it provides - with more examples of custom protocols - since that's probably what most people turn to Twisted for.
Comment Comment (1) | Permalink | Was this review helpful to you? Yes No (Report this)



 
14 of 16 people found the following review helpful:
4.0 out of 5 stars Not complete, but a good entry point to Twisted, February 1, 2006
By Michael Pirnat "geek errant" (Westlake, OH United States) - See all my reviews
(REAL NAME)   
When Twisted started to explode onto the scene, I was really intrigued by its varied capabilities and asynchronous model, but I was turned off by the then-scant documentation and the webapp framework transition that was just beginning (Woven was deprecated and Nevow was too new for any sort of coherent explanation). I just didn't have time to wrap my head around it, and so Twisted fell off my radar screen for a while. Eventually, I saw that a book was on the way, and I was excited to jump back in with it as my guide.

Twisted Network Programming Essentials is not an exhaustive reference to Twisted, nor does it even pretend to be. Rather, it's a pretty friendly, task-oriented exploration, providing examples of common tasks and insight into the key concepts and design patterns that are essential to grokking Twisted. Each chapter focuses on a particular topic, and they're arranged to build upon each other nicely. Sections within each chapter are broken down into a practical, easily digested structure--we're introduced to the task at hand, then the "How do I do that?" and "How does it work?" bits clearly and plainly walk us through an example solution and dissect its inner workings. At 202 pages of actual text, its eleven chapters make for a comfortable chapter-per-evening of reading and play. It's well worth either keying in or downloading the example code to see Twisted in action.

Covered topics include installing Twisted, the essential Twisted concepts; HTTP clients and servers; RPC; authentication; mail clients and servers (POP and IMAP); NNTP clients and servers; fun with SSH; and some practical, non-glamorous things like running your app as a proper daemon, adding administrative interfaces, and logging. You'll monitor download progress, make a simple blog, build an IMAP server, and more. You'll chain protocols together to make an email interface to Google. You'll be impressed by the power and cleanliness of Twisted's authentication model, and you'll have fun getting and using references to remote Python objects with Perspective Broker. There's also a pretty good explanation of REST, and plenty of links to useful reading.

All is unfortunately not shiny and delicious, though. I encountered what I consider quite a few programming errors in the example code, as well as several places where the explanatory text doesn't quite jive with the example. These errors are all fairly minor, and are probably artifacts of the evolution of the text and examples, but the frequency with which they crop up suggested that either no one had run the code before approving it for printing, or that errors were deliberately introduced to see if the reader is paying attention. As someone with a professional investment in web applications and frameworks, I was disappointed not to see any investigation of Nevow (not stable enough at the time of writing to be included, alas). The SSH chapter mentions but does not discuss or dive into the file transfer and connection tunneling concepts. I was also let down by the strict focus on programs that only used the basic Twisted reactor for managing events--the challenge of integrating Twisted's powerful capabilities into an existing event-driven program (eg, any GUI app) is entirely omitted. Furthermore, the book ends somewhat suddenly; I would have welcomed a "Great! What now?" sort of wrap-up that would provide a guidepost to more advanced topics.

These warts are quite forgiveable, however, and will hopefully be corrected in a future revision. The book is clean, friendly, and clear, and provides a nice entry into the world of Twisted. We are neither talked down to, nor beaten into submission by overly dense, inscrutable prose. For this printing, keep the errata handy to quickly resolve any issues with the example code (and submit anything new that you find). While the topics might be considered limited, it's clear that what's here is the tip of the iceberg; you can use these familiar topics to try to sell your boss on Twisted, and then your imagination is the only limit to what you can do. Since my initial experience with Twisted, the core documentation has improved immensely, but it's even stronger if you're already familiar with what's presented here; start with this book, then dive on into the online docs, and you'll be a Twisted guru in no time.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

2.0 out of 5 stars Not for LEARNING Twisted
When I first received this book, I saw that it was short and rejoiced. I usually never get through a 400 or 500 page programming book, because I get the early concepts, and then... Read more
Published 6 months ago by Paul Hummer

3.0 out of 5 stars eh, could be better, could be worse
The book was a very basic introduction to twisted. For the most part it will really only benefit someone who is relatively new to Python and needs to perform some quick network... Read more
Published 7 months ago by Jesse G. Lands

4.0 out of 5 stars Good read
The book gave a much clearer initial picture (to me) of the Twisted system than the online documentation did. Read more
Published 8 months ago by Brandon Gilmore

4.0 out of 5 stars Twisted Programmers must have
This book will take you through all the packages that will allow you to master the twisted programming. Read more
Published 9 months ago by MARTINEZ ZAPATA, PASCUAL

1.0 out of 5 stars Please save your money.
This book is nothing more than a handful of code examples that you can just as easily get from the web. Read more
Published 24 months ago by Lee Crawford

5.0 out of 5 stars THIS BOOK IS TWISTED!!!!
Are you a developer who wants to start building applications using twisted? If you are, then this book is for you! Read more
Published on May 23, 2006 by John R. Vacca

5.0 out of 5 stars Provides insights on the open source network application framework written in Python
Abe Fettig's Twisted: Network Programming Essentials provides insights on the open source network application framework written in Python. Read more
Published on May 2, 2006 by Midwest Book Review

4.0 out of 5 stars Valuable to guide study of Twisted
As the previous reviewers stated, there are errors and not deep explaination. The value of the books is in the examples and as an outline to a course of study... Read more
Published on February 7, 2006 by John X Dooley

3.0 out of 5 stars Cookbook with no concepts...
The book is a cookbook of twisted based clients and servers, with
almost no material on twisted's core concepts (e.g. Read more
Published on January 22, 2006 by Andrew Purshottam

5.0 out of 5 stars Very good intruduction to Twisted
This is the documentation I've been waiting for to start learning Twisted. I originaly looked at Twisted a while back, but the documentation on the Twisted site was not helpful... Read more
Published on November 7, 2005 by C. Lung

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (0 discussions)
  Discussion Replies Latest Post
  No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
  [Cancel]


Active discussions in related forums
   


Product Information from the Amapedia Community

Beta (What's this?)


Look for Similar Items by Category


Don't Slip and Slide

HeatTrak Heated Walkway

Keep your walkways safe and clear of snow and ice using the HeatTrak heated walkway.

Shop all HeatTrak heated walkways

 

Big Savings in Books

Bargain Books
Find great titles at fantastic prices in our Bargain Books Store.
 

Swedish-Made Sjoberg Workbench

Shop for Sjoberg workbenches
Keep your work area organized with a beautifully made and useful Sjoberg workbench.

Shop for Sjoberg workbenches

 

Best Books

Best of the Month
See our editors' picks and more of the best new books on our Best of the Month page.
 

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers
Free
Free by Chris Anderson
Paranoia
Paranoia by Joseph Finder
My Soul to Lose
My Soul to Lose by Rachel Vincent
Glenn Beck's Common Sense

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates