[Twisted-Python] Fw: Zope and Twisted
twisted at itamarst.org
Wed Feb 5 11:54:15 EST 2003
This is the first email I got.
Begin forwarded message:
Date: Tue, 4 Feb 2003 10:54:39 -0800
From: "Pierre Johnson"
To: <itamar at zoteca.com>
Subject: Zope and Twisted
I read your 9 Dec 2002 weblog entry. Agreed Zope 2 is kludge. However,
Twisted is kludge too. Say What?
Twisted does not conform well to the OSI model. Each layer should have
abstraction and implementation for whatever it is one wants to
Additionally, one need include a interfaces module that keeps interfaces
separate from implementation.
Here's some sketches about implementations, e.g.,
class NetworkLayer: # an abstraction
class TransportLayer: #an abstraction
class Transport.TCP(Transport, IP):
class SessionLayer: # an abstraction
class DNS(Session, TCP, IP):
class ApplicationLayer: # an abstraction
class FTP(Application, DNS,TCP,IP)
This kind of abstraction schema allows for quicker programming than the
current Twisted schema as written by the so-called "abstraction
Bear in mind that this is a sketch and by no means the exact why I would
Clearly, a perusal of the Twisted code demonstrates that Twisted does
separate transport from protocols or at least not cleanly.
Thanks for your time.
More information about the Twisted-Python