Differences between revisions 18 and 19
Revision 18 as of 2006-10-31 14:46:00
Size: 3095
Editor: andelf
Comment:
Revision 19 as of 2008-10-24 07:40:59
Size: 3261
Editor: ZoomQuiet
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
#pragma section-numbers off
[[TableOfContents]]
Line 9: Line 12:
040716 开启 Python-Twisted 页面,组织中文文档!  * 040716 开启 Python-Twisted 页面,组织中文文档!
 * [https://contrib.exoweb.net/wiki/TwistedDocZh TwistedDocZh - ExoContrib] ^ExoWeb 贡献的中文文档!^

TableOfContents

twisted是一个专门用于python的网络开发的框架。可以说是现在python中新的一支至力于发展高性能网络开发的框架,发展很稳定。 TableOfContents -- dreamingk [DateTime(2004-08-09T02:18:01Z)]

起源

[http://python.cn/pipermail/python-chinese/2004-July/002099.html python-chinese]列表中讨论带出的论述,大家都非常感兴趣这一强力的开发框架,故:

用 Python 做大型服务器的利器

我是个python玩家,以前用过很多语言,不过最近的项目都在用P来做了,主要原因是“懒”嘻嘻。。 我常在E文网上,找到不少P的好东西,也发个上来: 最强的Python 网络服务器套件

主站在 http://twistedmatrix.com/ 中文说明在 http://www-128.ibm.com/developerworks/cn/linux/network/l-twist/part1/index.html

这可不是一般小东东,低层大都是用C来完成的,所以效率嘛,嘿嘿。 我测试过除内存占用大点其它相当强 不过在Win2k 平台上 因为 IOCP(I/O Completion Port,I/O完成端口) 部份还正在完善之中,所以目前不是很理想。

翻译约定

  • ["translateProtocol"] --- Wiki 组织的文档翻译协作协定

每周代码分析

Mon Jul 26 09:30:37 HKT 2004; HD 发起的 Twisted 代码分析活动,以此来激发同志们的实战经验

  • ["/codeAnalyze-040726-twisted的数据接收机制分析"]

Twisted Documentation Start

Start

  • HOWTOs
  • API reference
  • Examples
  • Documents of historical importance
  • Manual pages
  • Specifications
  • Philosophical papers
  • Index

Version: 1.3.0

HOWTOs

快速的进行短巧的 Twisted 开发

Working on the Twisted Code Base

Utilities

High-Level Twisted

Low-Level Networking and Event Loop

底层网络及事务循环

  • 精确理解 Twisted 的重要知识!
  • /LowLevelNetworkingEventLoop

    • -- 进入文档页面!
      • Asynchronous Programming
      • Reactor basics
      • Writing a TCP server
      • Writing a TCP client
      • UDP Networking
      • Using processes
      • Using Deferreds
      • Scheduling
      • Using threads
      • Choosing a reactor and GUI toolkit integration

教程

  • ["TwistedTUT"]--- Twisted入门 -- finger 的演化
  • Deferreds are beautiful! [attachment:deferred_tutorial_tidy.html 在线阅读] -- shhgs节译

会课练习

040721 开始定期的进行UC组中的,会课,进行Twisted 的讲解,大家的练习成果在此展示

  • ["/tasteTwisted"]

学习记录

请大家将自个儿的学习心得也记录在案是也乎!嗬嗬嗬!

辅助资料

Include(TwistedDoc)

PyTwisted (last edited 2009-12-25 07:16:53 by localhost)