On Fri, Aug 02, 2002 at 05:42:22PM +0800, Mukhsein Johari wrote:
understand how things all work together. Specifically, I'm interested to know how to build a custom webserver using twisted that does not serve any files at all. And does not publish objects like zope. The build your own server with twisted doc is not enough somehow. It'd be nice if a tutorial used http as an example. How do you use all those classes and modules? (twisted.web.server, twisted.internet.reactor)? The example Donovan gave (for my earlier
Well, one real-world example, totaling ~1600 lines of webby stuff, is ldaptor. There's an app in there called ldaptor-webui, that acts as an adaptor between WWW and LDAP. It uses twisted.web.widgets. You'll need an LDAP server to play -- apt-get install slapd.
The latest release is at http://twistedmatrix.com/users/tv/ldaptor/