Twisted Network Programming Essentials, 2/e (Paperback)
暫譯: Twisted 網路程式設計精要 (第二版)

Jessica McKellar, Abe Fettig

  • 出版商: O'Reilly
  • 出版日期: 2013-04-30
  • 定價: $1,360
  • 售價: 9.5$1,292
  • 語言: 英文
  • 頁數: 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 的高階網路 API 構建 HTTP 伺服器
- 使用 Agent API 開發靈活的網路客戶端
- 以穩健且標準化的方式配置和部署 Twisted 服務
- 使用 Twisted 的非阻塞介面訪問資料庫
- 添加常見的伺服器組件:日誌記錄、身份驗證、執行緒和進程,以及測試
- 探索為 IRC、流行郵件協議和 SSH 構建客戶端和伺服器的方法