Twisted Network Programming Essentials, 2nd Edition
Event-driven Network Programming with Python
Publisher: O'Reilly Media
Final Release Date: March 2013
Pages: 194

Get started with Twisted, the event-driven networking framework written in Python. With this introductory guide, you’ll learn the key concepts and design patterns to build event-driven client and server applications for many popular networking protocols. You’ll also learn the tools to build new protocols using Twisted’s primitives.

Start by building basic TCP clients and servers, and then focus on deploying production-grade applications with the Twisted Application infrastructure. Along the way, you can play with and extend examples of common tasks you’ll face when building network applications. If you’re familiar with Python, you’re ready for Twisted.

  • Learn the core components of Twisted servers and clients
  • Write asynchronous code with the Deferred API
  • Construct HTTP servers with Twisted’s high-level web APIs
  • Use the Agent API to develop flexible web clients
  • Configure and deploy Twisted services in a robust and standardized fashion
  • Access databases using Twisted’s nonblocking interface
  • Add common server components: logging, authentication, threads and processes, and testing
  • Explore ways to build clients and servers for IRC, popular mail protocols, and SSH
Table of Contents
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyTwisted Network Programming Essentials, 2nd Edition
 
4.5

(based on 2 reviews)

Ratings Distribution

  • 5 Stars

     

    (1)

  • 4 Stars

     

    (1)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

Reviewed by 2 customers

Sort by

Displaying reviews 1-2

Back to top

 
5.0

Best explanation of deferreds ever

By Luciano Ramalho

from São Paulo, Brazil

About Me Developer, Educator, Maker

Verified Reviewer

Pros

  • Accurate
  • Concise
  • Easy to understand
  • Engaging
  • Helpful examples
  • Well-written

Cons

    Best Uses

    • Intermediate
    • Novice

    Comments about oreilly Twisted Network Programming Essentials, 2nd Edition:

    Chapter 3, "Writing Asynchronous Code with Deferreds" is the best presentation of deferreds I've ever seen. Showing how deferreds work without a running reactor is brilliant. To really grok their behaviour, going over the exercises to activate your brain does the trick. Since it's not possible to properly use Twisted without mastering deferreds, I'd say the thorough and engaging coverage of deferreds is worth the price of the book by itself.

     
    4.0

    Overall a very useful book...

    By Brian

    from Cork, Ireland

    About Me Designer, Developer, Maker

    Verified Reviewer

    Pros

    • Concise
    • Easy to understand
    • Helpful examples

    Cons

    • Some Code Example Errors

    Best Uses

    • Intermediate
    • Novice
    • Student

    Comments about oreilly Twisted Network Programming Essentials, 2nd Edition:

    Overall this is a very useful book. I would recommend it as a good introduction to network programming as well as a Twisted.

    There are a few assumption and implicit knowledge that make learning this stuff a little harder then it need be. There are also a number of errors in code examples and typos.

    I'm sure these addressed in further editions.

    Displaying reviews 1-2

    Back to top

     
    Buy 2 Get 1 Free Free Shipping Guarantee
    Buying Options
    Immediate Access - Go Digital what's this?
    Ebook: $33.99
    Formats:  DAISY, ePub, Mobi, PDF
    Print & Ebook: $43.99
    Print: $39.99