Twisted Network Programming Essentials (Paperback)
Abe Fettig
- 出版商: O'Reilly
- 出版日期: 2005-10-30
- 定價: $1,050
- 售價: 1.9 折 $199
- 語言: 英文
- 頁數: 240
- 裝訂: Paperback
- ISBN: 0596100329
- ISBN-13: 9780596100322
立即出貨(限量) (庫存=1)
買這商品的人也買了...
-
$690$587 -
$2,350$2,233 -
$990$782 -
$780$616 -
$1,615CCNA Cisco Certified Network Associate Study Guide, 5/e (640-801)
-
$350$315 -
$550$495 -
$1,127Database System Concepts, 5/e (IE) (美國版ISBN:0072958863)
-
$880$695 -
$580$493 -
$390$332 -
$350$273 -
$650$507 -
$890$757 -
$650$553 -
$580$458 -
$375Macromedia Dreamweaver 8 for Windows and Macintosh: Visual QuickStart Guide (Paperback)
-
$380$323 -
$600$480 -
$1,406$1,332 -
$1,488C++ GUI Programming with Qt 4, 2/e (Hardcover)
-
$788Foundations of Agile Python Development (Paperback)
-
$580$458 -
$2,010$1,910 -
$1,320CUDA Application Design and Development (Paperback)
相關主題
商品描述
Twisted Network Programming Essentials from O'Reilly is a task-oriented look at this new open source, Python-based technology. The book begins with recommendations for various plug-ins and add-ons to enhance the basic package as installed. It then details Twisted's collection simple network protocols, and helper utilities. The book also includes projects that let you try out the Twisted framework for yourself. For example, you'll find examples of using Twisted to build web services applications using the REST architecture, using XML-RPC, and using SOAP.
Written for developers who want to start building applications using Twisted, this comprehensive guide presents examples of the most common tasks you'll face when building network applications. It also helps you understand the key concepts and design patterns used in Twisted applications. Here are just some of the topics discussed in Twisted Network Programming Essentials:
- Installing Twisted
- How to make TCP connections
- How to use Twisted to work with the Web
- Twisted's authentication framework
- Usenet and SSH clients and servers
Along the way, each lesson is supported by thorough notes and explanations to make absolutely certain you're up to speed with this leading-edge Python technology.
Table of Contents
Foreword
Preface
1. Getting Started
Installing Twisted
Installing from Source Files
Adding Twisted Utilities to Your Path
Using the Twisted Documentation
Finding Answers to Your Questions
2. Building Simple Clients and Servers
Starting the Twisted Event Loop
Working with Asynchronous Results
Sending and Receiving Data
Accepting Connections from Clients
3. Web Clients
Downloading a Web Page
Accessing a Password-Protected Page
Uploading a File
Checking Whether a Page Has Changed
Monitoring Download Progress
4. Web Servers
Responding to HTTP Requests
Parsing HTTP Requests
Working with POST Data from HTML Forms
Managing a Hierarchy of Resources
Storing Web Data in an SQL Database
Running an HTTP Proxy Server
5. Web Services and RPC
Using the REST Architecture for Web Services
Using a Web Client to Update Resources Through REST
Enabling Web Services Using XML-RPC
Calling XML-RPC Functions
Installing SOAP Libraries
Sharing Web Services with SOAP
Calling SOAP Web Services
Sharing Python Objects with Perspective Broker
6. Authentication
Using Authentication in a Twisted Server
Authenticating Against a Database Table
Representing Users with Different Capabilities
Using Authentication with Perspective Broker
7. Mail Clients
Downloading Mail from a POP3 Server
Sending Mail Using SMTP
Looking Up the SMTP Server for a Domain
Listing Mailboxes on an IMAP Server
Downloading Messages from an IMAP Mailbox
8. Mail Servers
Accepting Mail with SMTP
Using SMTP as a User Interface
Providing POP3 Access to Mailboxes
Providing IMAP Access to Mailboxes
9. NNTP Clients and Servers
Listing the Newsgroups on a Server
Downloading Usenet Articles
Posting a Message to an NNTP Server
Running a Basic NNTP Server
Using NNTP as a User Interface
10. SSH
Setting Up a Custom SSH Server
Using Public Keys for Authentication
Providing an Administrative Python Shell
Running Commands on a Remote Server
11. Services, Processes, and Logging
Running a Twisted Application as a Daemon
Setting Limits on an Application's Permissions
Managing Multiple Services
Logging Events and Errors
Index
商品描述(中文翻譯)
《Twisted網絡編程基礎》是O'Reilly出版的一本以任務為導向的書籍,介紹了這個基於Python的新型開源技術。該書首先介紹了各種插件和附加組件,以增強安裝的基本套件。然後詳細介紹了Twisted的簡單網絡協議和輔助工具。該書還包括一些讓您自己嘗試使用Twisted框架的項目。例如,您將找到使用Twisted構建使用REST架構的Web服務應用程序、使用XML-RPC和使用SOAP的示例。
這本全面指南針對希望開始使用Twisted構建應用程序的開發人員,提供了最常見的網絡應用程序構建任務的示例。它還幫助您理解Twisted應用程序中使用的關鍵概念和設計模式。以下是《Twisted網絡編程基礎》中討論的一些主題:
- 安裝Twisted
- 如何建立TCP連接
- 如何使用Twisted與Web進行交互
- Twisted的身份驗證框架
- Usenet和SSH客戶端和服務器
在學習的過程中,每個課程都有詳細的註釋和解釋,以確保您對這一領先的Python技術了解透徹。
目錄:
- 前言
- 前言
- 1. 入門
- 安裝Twisted
- 從源文件安裝
- 將Twisted工具添加到路徑中
- 使用Twisted文檔
- 尋找問題的答案
- 2. 構建簡單的客戶端和服務器
- 啟動Twisted事件循環
- 使用異步結果
- 發送和接收數據
- 接受客戶端的連接
- 3. Web客戶端
- 下載網頁
- 訪問受密碼保護的頁面
- 上傳文件
- 檢查頁面是否有變化
- 監控下載進度
- 4. Web服務器
- 響應HTTP請求
- 解析HTTP請求
- 處理來自HTML表單的POST數據
- 管理資源層次結構
- 將Web數據存儲在SQL數據庫中
- 運行HTTP代理服務器