Introduction
Twisted is a big system. People are often daunted when they approach it. It's hard to know where to start looking.
This guide builds a full-fledged Twisted application from the ground up, using most of the important bits of the framework. There is a lot of code, but don't be afraid.
The application we are looking at is a finger
service, along the
lines of the familiar service traditionally provided by UNIX™ servers.
We will extend this service slightly beyond the standard, in order to
demonstrate some of Twisted's higher-level features.
Contents
This tutorial is split into eleven parts:
- The Evolution of Finger: building a simple finger service
- The Evolution of Finger: adding features to the finger service
- The Evolution of Finger: cleaning up the finger code
- The Evolution of Finger: moving to a component based architecture
- The Evolution of Finger: pluggable backends
- The Evolution of Finger: a web frontend
- The Evolution of Finger: Twisted client support using Perspective Broker
- The Evolution of Finger: using a single factory for multiple protocols
- The Evolution of Finger: a Twisted finger client
- The Evolution of Finger: making a finger library
- The Evolution of Finger: configuration and packaging of the finger service