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
book
Twisted Network Programming Essentials
Twisted Network Programming Essentials from O'Reilly is a task-oriented look at this new open source, Python-based …
video
Twisted Python: The Engine of Your Internet
How do you write and deploy extensible, testable, cross-platform clients and servers for your favorite network …
book
wxPython Recipes: A Problem - Solution Approach
Quickly discover solutions to common problems, learn best practices, and understand everything wxPython has to offer. …
book
Modeling and Simulation of Computer Networks and Systems
Modeling and Simulation of Computer Networks and Systems: Methodologies and Applications introduces you to a broad …