[《Twisted网络编程必备》翻译] 前言 and so on

Pythoner们大家好,偶是Python-Chinese的gashero。因为闲来无聊,所以翻译了《Twisted Network Programming Essentials》(《Twisted网络编程必备》)的前4章,希望能对大家有用。
因为可能涉及到的版权问题,我没有在任何网站上张贴,希望大家传阅的时候也不要发布到网上,互相通过邮件传一下也就算了。
另外关于翻译质量的问题,偶是一个因为英语四级没过而没有拿到学士学位的家伙,所以本书的翻译质量信不信由你了。当然,如果你发现了更加通顺的翻译方式,欢迎发邮件给我(harry.python@gmail.com)。
如果你对信息安全(not hack)、网络编程(WEB/Socket)、Python感兴趣也可以联系我。
另外有空可以去偶的"河边的小屋"(http://blog.csdn.net/gashero)去看看。

祝好。



------------------------------



Twisted Network Programming Essentials
Twisted网络编程必备

作者: Abe Fettig
出版社: O'Reilly
出版日期: 2005年10月
ISBN: 0-596-10032-9
页数: 236

概述
《Twisted Network Programming Essentials》是由O'Reilly出版的面向任务的、开源的、基于Python的技术。本书推荐通过安装各种插件来提供安装包具有的功能。然后才开始介绍Twisted具备的网络协议和实用工具。本书还包括Twisted之外的工作方式。例如,可以找到利用Twisted建立使用REST架构的WEB services应用,使用XML-RPC,和使用SOAP。
本书写给想要使用Twisted建立应用程序的开发者,这份广泛(comprehensive)的指南包含了编写网络应用程序所需要面对的大多数任务。当然也包含了使用设计模式的思想建立Twisted应用。如下是本书讨论的主题:
·安装Twisted
·如何建立TCP连接
·如何使用Twisted工作于WEB之上
·Twisted认证框架
·USENET和SSH客户端和服务器
使用本书,每一章节带领你快速使用前沿的Python技术。



--------------------------------




关于作者

Abe Fetting是一位专门从事互联网应用程序开发的程序员。他现在正在JotSpot做软件工程师。他的开源项目包括Yarn,和一个使用Twisted来转换RSS和Email、weblogs、WEB services等等的工具。Abe同他的妻子汉娜住在美国缅因州波特兰。




--------------------------------




前言

作为Twisted项目的发起人和名义上的领导者,当然也是本书的作者,我可以很诚实的告诉你这是一本好书,这是一直以来我值得骄傲的。现在,你可以用手中神奇的钥匙打开强大的软件系统,井然有序。让你可以在很短的时间胜任艰巨的任务。有如那个叫做"Divunal"的游戏一样。
我曾经多次自夸于我在创建Twisted项目中的角色,这也是我写作这个前言的目的。...
这丫写东西一片混乱,算了吧。




--------------------------------




序言

这是一本关于Twisted的书。Twisted是一种开放源代码Python网络编程框架。它提供了开发完整Internet程序所需要的所有工具。Twisted包括高级和低级工具。可以用很少几行代码创建WEB或Email服务器,也可以方便的写自己的通信协议。在每一个级别中,Twisted提供了经过严格测试的、良好设计的API,可以让你快速的构建强健的网络应用。
这本书是写给希望使用Twisted构建网络程序的开发者的。它包含多个可用的例子,并附有完善的提示和解释。本书关注于使用Twisted制作有用的例子。






--------------------------------





Table of Content(目录)

Copyright(版权声明)
About the Author(关于作者)
Foreword(前言)
Preface(序言)
    Why Use Twisted?(为什么使用Twisted?)
    What This Book Covers(本书覆盖的内容)
    Conventions Used in This Book(本书的结构)
    What You'll Need(接下来你还需要什么)
    Using Code Examples(使用代码示例)
    Safari(R) Enabled(启用Safari)
    How to Contact Us(如何联系我们)
    Acknowledgments(谢辞)
1. Getting Started(入门)
    1.1. Installing Twisted(安装Twisted)
    1.2. Installing from Source Files(从源码安装)
    1.3. Adding Twisted Ulilities to Your Path(添加Twisted工具到路径)
    1.4. Using the Twisted Documentation(使用Twisted文档)
    1.5. Finding Answers to Your Questions(寻找问题的答案)
2. Building Simple Clients and Servers(建立简单的客户端和服务器)
    2.1. Starting the Twisted Event Loop(开启Twisted事件循环)
    2.2. Working with Asynchronous Results(使用异步操作)
    2.3. Sending and Receiving Data(收发数据)
    2.4. Accepting Connections from Clients
3. Web Clients(WEB客户端)
    3.1. Downloading a Web Page(下载一个WEB页面)
    3.2. Accessing a Password-Protected Page(存取一个受到密码保护的页面)
    3.3. Uploading a File(上传文件)
    3.4. Checking Whether a Page Has Changed(检查一个WEB页是否修改过)
    3.5. Monitoring Download Progress(监视下载进度)
4. Web Servers(WEB服务器)
    4.1. Responding to HTTP Requests(响应HTTP请求)
    4.2. Parsing HTTP Requests(分析HTTP请求)
    4.3. Working with POST Data from HTML Forms(处理HTML表单的POST数据)
    4.4. Managing a Hierarchy of Resources(管理资源等级)
    4.5. Storing Web Data in an SQL Database(将WEB数据存入SQL数据库)
    4.6. Running an HTTP Proxy Server(运行HTTP代理服务器)
5. Web Services and RPC(WEB服务和RPC)
    5.1. Using the REST Architecture for Web Services(使用REST架构建立WEB服务)
    5.2. Using a Web Client to Update Resources Through REST(使用WEB客户端通过REST来更新资源)
    5.3. Enabling Web Services Using XML-RPC(启用基于XML-RPC的WEB服务)
    5.4. Calling XML-RPC Functions(调用XML-RPC功能)
    5.5. Installing SOAP Libraries(安装SOAP库)
    5.6. Sharing Web Services with SOAP(使用SOAP共享WEB服务)
    5.7. Calling SOAP Web Services(调用SOAP WEB服务)
    5.8. Sharing Python Objects with Perspective Broker(通过透明代理共享Python对象)
6. Authentication(认证)
    6.1. Using Authentication in a Twisted Server(在Twisted服务器中使用认证)
    6.2. Authenticating Against a Database Table(不使用数据库表格进行验证)
    6.3. Representing Users with Different Capabilities(使用两种方式代理用户)
    6.4. Using Authentication with Perspective Broker(使用基于透视代理的验证)
7. Mail Clients(邮件客户端)
    7.1. Downloading Mail from a POP3 Server(从POP3服务器下载电子邮件)
    7.2. Sending Mail Using SMTP(SMPT协议发送电子邮件)
    7.3. Looking Up the SMTP Server for a Domain(从域名查找SMTP服务器)
    7.4. Listing Mailboxes on an IMAP Server(列出IMAP服务器上的收件箱)
    7.5. Downloading Messages from an IMAP Mailbox(从IMAP收件箱下载电子邮件信息)
8. Mail Servers(邮件服务器)
    8.1. Accepting Mail with SMTP(接受SMTP协议邮件)
    8.2. Using SMTP as a User Interface(使用SMTP作为用户接口)
    8.3. Providing POP3 Access to Mailboxes(提供POP3方式访问邮箱)
    8.4. Providing IMAP Access to Mailboxes(提供IMAP方式访问邮箱)
9. NNTP Clients and Servers(NNTP客户端和服务器)
    9.1. Listing the Newsgroups on a Server(列出新闻组服务器上的新闻)
    9.2. Downloading Usenet Articles(下载新闻组文章)
    9.3. Posting a Message to an NNTP Server(提交信息到NNTP服务器)
    9.4. Running a Basic NNTP Server(运行一个简单的NNTP服务器)
    9.5. Using NNTP as a User Interface(使用NNTP作为用户接口)
10. SSH
    10.1. Setting Up a Custom SSH Server(设置自己的SSH服务器)
    10.2. Using Public Keys for Authentication(使用公开密钥进行认证)
    10.3. Providing an Administrative Python Shell(提供管理员的Python控制台)
    10.4. Running Commands on a Remote Server(在远程服务器上运行命令)
11. Services,Processes,and Logging(服务,进程,日志)
    11.1. Running a Twisted Application as a Daemon(运行Twisted应用作为监护进程)
    11.2. Setting Limits on an Application's Permissions(设置应用程序权限)
    11.3. Managing Multiple Services(管理多个服务)
    11.4. Logging Events and Errors(记录事件和错误日志)
Colophon(尾页)
Index(索引)
 
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
本帖最后由 john3000 于 2013-4-18 02:00 编辑 Twisted Network Programming Essentials 2nd Edition 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 Part I: An Introduction to Twisted Chapter 1. Getting Started Chapter 2. Building Basic Clients and Servers Chapter 3. Writing Asynchronous Code with Deferreds Chapter 4. Web Servers Chapter 5. Web Clients Part II: Building Production-Grade Twisted Services Chapter 6. Deploying Twisted Applications Chapter 7. Logging Chapter 8. Databases Chapter 9. Authentication Chapter 10. Threads and Subprocesses Chapter 11. Testing Part III: More Protocols and More Practice Chapter 12. Twisted Words Chapter 13. Twisted Mail Chapter 14. SSH Chapter 15. The End BOOK DETAILS Paperback: 194 pages Publisher: O’Reilly Media; 2nd Edition (March 2013) Language: English ISBN-10: 1449326110 ISBN-13: 978-1449326111

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值