Twisted Network Programming Essentials : Event-driven Network Programming with Python

Bok av Jessica McKellar
Get started with Twisted, the event-driven networking framework written in Python. With this introductory guide, youll learn the key concepts and design patterns to build event-driven client and server applications for many popular networking protocols. Youll also learn the tools to build new protocols using Twisteds 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 youll face when building network applications. If youre familiar with Python, youre ready for Twisted.Learn the core components of Twisted servers and clientsWrite asynchronous code with the Deferred APIConstruct HTTP servers with Twisteds high-level web APIsUse the Agent API to develop flexible web clientsConfigure and deploy Twisted services in a robust and standardized fashionAccess databases using Twisteds nonblocking interfaceAdd common server components: logging, authentication, threads and processes, and testingExplore ways to build clients and servers for IRC, popular mail protocols, and SSH