Twisted Network Programming Essentials, 2/e (Paperback)

Jessica McKellar, Abe Fettig

  • 出版商: O'Reilly
  • 出版日期: 2013-04-30
  • 定價: $1,360
  • 售價: 9.5$1,292
  • 貴賓價: 9.0$1,224
  • 語言: 英文
  • 頁數: 194
  • 裝訂: Paperback
  • ISBN: 1449326110
  • ISBN-13: 9781449326111
  • 立即出貨 (庫存 < 3)

買這商品的人也買了...

商品描述

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

商品描述(中文翻譯)

開始使用Twisted,這是一個用Python編寫的事件驅動型網絡框架。通過這本入門指南,您將學習構建基於事件驅動的客戶端和服務器應用程序的關鍵概念和設計模式,適用於許多流行的網絡協議。您還將學習使用Twisted的基本組件來構建新的協議。

首先,從構建基本的TCP客戶端和服務器開始,然後專注於使用Twisted應用程序基礎架構部署生產級應用程序。在此過程中,您可以玩弄並擴展常見的網絡應用程序構建任務的示例。如果您熟悉Python,您就準備好使用Twisted了。

本書的內容包括:
- 學習Twisted服務器和客戶端的核心組件
- 使用Deferred API編寫異步代碼
- 使用Twisted的高級Web API構建HTTP服務器
- 使用Agent API開發靈活的Web客戶端
- 以堅固和標準化的方式配置和部署Twisted服務
- 使用Twisted的非阻塞接口訪問數據庫
- 添加常見的服務器組件:日誌記錄、身份驗證、線程和進程以及測試
- 探索構建IRC、常見郵件協議和SSH客戶端和服務器的方法