Books & Videos

Table of Contents

  1. An Introduction to Twisted

    1. Chapter 1 Getting Started

      1. Installing Twisted
      2. Installing from Source
      3. Testing Your Installation
      4. Using the Twisted Documentation
      5. Finding Answers to Your Questions
    2. Chapter 2 Building Basic Clients and Servers

      1. A TCP Echo Server and Client
      2. Event-Driven Programming
      3. The Reactor
      4. Transports
      5. Protocols
      6. A TCP Quote Server and Client
      7. Protocol State Machines
      8. More Practice and Next Steps
    3. Chapter 3 Writing Asynchronous Code with Deferreds

      1. What Deferreds Do and Don’t Do
      2. The Structure of a Deferred Object
      3. Callback Chains and Using Deferreds in the Reactor
      4. Practice: What Do These Deferred Chains Do?
      5. The Truth About addCallbacks
      6. Key Facts About Deferreds
      7. Summary of the Deferred API
      8. More Practice and Next Steps
    4. Chapter 4 Web Servers

      1. Responding to HTTP Requests: A Low-Level Review
      2. Handling GET Requests
      3. Handling POST Requests
      4. Asynchronous Responses
      5. More Practice and Next Steps
    5. Chapter 5 Web Clients

      1. Basic HTTP Resource Retrieval
      2. Agent
      3. More Practice and Next Steps
  2. Building Production-Grade Twisted Services

    1. Chapter 6 Deploying Twisted Applications

      1. The Twisted Application Infrastructure
      2. More twistd Examples
      3. More Practice and Next Steps
    2. Chapter 7 Logging

      1. Basic In-Application Logging
      2. twistd Logging
      3. Custom Loggers
      4. Key Facts and Caveats About Logging
    3. Chapter 8 Databases

      1. Nonblocking Database Queries
      2. More Practice and Next Steps
    4. Chapter 9 Authentication

      1. The Components of Twisted Cred
      2. Twisted Cred: An Example
      3. Credentials Checkers
      4. Authentication in Twisted Applications
      5. More Practice and Next Steps
    5. Chapter 10 Threads and Subprocesses

      1. Threads
      2. Subprocesses
      3. More Practice and Next Steps
    6. Chapter 11 Testing

      1. Writing and Running Twisted Unit Tests with Trial
      2. Testing Protocols
      3. Tests and the Reactor
      4. More Practice and Next Steps
  3. More Protocols and More Practice

    1. Chapter 12 Twisted Words

      1. IRC Clients
      2. IRC Servers
      3. More Practice and Next Steps
    2. Chapter 13 Twisted Mail

      1. SMTP Clients and Servers
      2. IMAP Clients and Servers
      3. POP3 Clients and Servers
      4. More Practice and Next Steps
    3. Chapter 14 SSH

      1. SSH Servers
      2. Using Public Keys for Authentication
      3. Providing an Administrative Python Shell
      4. Running Commands on a Remote Server
      5. More Practice and Next Steps
    4. Chapter 15 The End

      1. Contributing to Twisted
  1. Colophon