A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://wiki.python.org/moin/PyCon2006/Tutorials/GettingStartedWithTwisted below:

PyCon2006/Tutorials/GettingStartedWithTwisted - Python Wiki

Getting started with the Twisted Framework

This 3-hour tutorial session will introduce the fundamentals of Twisted. It answers the question: "Where do I start?" And while some complaints have been made regarding a lack of documentation, there's plenty of it out there if you know how to read and understand it.

Target audience

Programmers experienced with Python but no real experience with Twisted.

Focus

This tutorial explains how to use Twisted in a controlled environment, where the programmer has the ability to define what's running on both sides of a network connection. (This means that I will _not_ be talking about Twisted in the context of the web, or the use of a browser as the user interface.)

Outline

A. Fundamental Concepts

  1. The asynchronous programming model
  2. Finite State machines

A. Twisted Features

  1. Reactors
  2. Cred
  3. Deferreds
  4. Perspective Broker
    1. Realms
    2. Avatars
    3. Perspectives
Case Study

Using Twisted to build a Chat Server.

This sample application is capable of highlighting all the topics listed above. A full exploration of a chat server will include issues like authentication and authorization, and can include discussions about topics like moving more arbitrary data between clients such as executables or graphical images. Some other subjects, such as using a GUI toolkit on the client, will be touched on just enough to provide necessary functionality.

Note: Students are encouraged to bring a laptop - preferably preloaded with Python, Twisted, and wxPython.

PyCon2006/Tutorials/GettingStartedWithTwisted (last edited 2008-11-15 14:00:05 by localhost)


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4