Book description
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
- Foreword to the First Edition
- Preface
-
I. An Introduction to Twisted
- 1. Getting Started
- 2. Building Basic Clients and Servers
- 3. Writing Asynchronous Code with Deferreds
- 4. Web Servers
- 5. Web Clients
- II. Building Production-Grade Twisted Services
- III. More Protocols and More Practice
- Index
- About the Authors
- Colophon
- Copyright
Product information
- Title: Twisted Network Programming Essentials, 2nd Edition
- Author(s):
- Release date: March 2013
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449326111
You might also like
video
Python Fundamentals
51+ hours of video instruction. Overview The professional programmer’s Deitel® video guide to Python development with …
book
40 Algorithms Every Programmer Should Know
Learn algorithms for solving classic computer science problems with this concise guide covering everything from fundamental …
book
The Linux Programming Interface
The Linux Programming Interface is the definitive guide to the Linux and UNIX programming interface—the interface …
book
Data Science from Scratch, 2nd Edition
To really learn data science, you should not only master the tools—data science libraries, frameworks, modules, …