Twisted Network Programming Essentials, 2nd Edition Event-driven Network Programming with Python 22096
An Introduction to Twisted
Chapter 1 : Getting Started
Installing Twisted
Installing from Source
Testing Your Installation
Using the Twisted Documentation
Finding Answers to Your Questions
Chapter 2 : Building-Basic Clients and Servers
A TCP Echo Server and Client
Event-Driven Programming
The Reactor
Transports
Protocols
A TCP Quote Server and Client
Protocol State Machines
More Practice and Next Steps
Chapter 3 : Writing Asynchronous Code with Deferreds
What Deferreds Do and don't Do
The Structure of a Deferred Object
Callback Chains and Using Deferreds in the Reactor
Practice: What Do These Deferred Chains Do?
The Truth About addCallbacks
Key Facts About Deferreds
Summary of the Deferred API
More Practice and Next Steps
Chapter 4 : Web Servers
Responding to HTTP Requests: A Low-Level Review
Handling GET Requests
Handling POST Requests
Asynchronous Responses
More Practice and Next Steps
Chapter 5 : Web Clients
Basic HTTP Resource Retrieval
Agent
More Practice and Next Steps
Building Production-Grade Twisted Services
Chapter 6 : Deploying Twisted Applications
The Twisted Application Infrastructure
More twistd Examples
More Practice and Next Steps
Chapter 7 : Logging
Basic In-Application Logging
twistd Logging
Custom Loggers
Key Facts and Caveats About Logging
Chapter 8 : Databases
Nonblocking Database Queries
More Practice and Next Steps
Chapter 9 : Authentication
The Components of Twisted Cred
Twisted Cred: An Example
Credentials Checkers
Authentication in Twisted Applications
More Practice and Next Steps
Chapter 10 : Threads and Subprocesses
Threads
Subprocesses
More Practice and Next Steps
Chapter 11 : Testing
Writing and Running Twisted Unit Tests with Trial
Testing Protocols
Tests and the Reactor
More Practice and Next Steps
More Protocols and More Practice
Chapter 12 : Twisted Words
IRC Clients
IRC Servers
More Practice and Next Steps
Chapter 13 : Twisted Mail
SMTP Clients and Servers
IMAP Clients and Servers
POP3 Clients and Servers
More Practice and Next Steps
Chapter 14 : SSH
SSH Servers
Using Public Keys for Authentication
Providing an Administrative Python Shell
Running Commands on a Remote Server
More Practice and Next Steps
Chapter 15 : The End
Contributing to Twisted
Colophon
- АвторJessica McKellar, Abe Fettig
- КатегоріяПрограмування
- МоваАнглійська
- Сторінок194
- Формат145х215 мм
- Термін поставки7-10 дней
допоможіть тим, хто ще не читав