[Twisted-Python] Trying to figure out twisted.web

Abe Fettig abe at fettig.net
Tue Feb 18 12:28:57 MST 2003


On Tue, 2003-02-18 at 13:11, Moshe Zadka wrote:
> On 18 Feb 2003, Abe Fettig <abe at fettig.net> wrote:
> 
> > So far I've set up a server that processes .epy files using
> > twisted.web.script.PythonScript.
> 
> You don't want that. Use resource scripts.

Thanks for pointing me in the right direction.

> > Also, I'm having trouble with twisted.web.static.Registry.  All I want
> > to is make a set of objects available to all the pages in my site. I
> > don't understand how a Registry object uses interfaces, or even why its
> > neccessary to use interfaces at all.  Is there a way to access objects
> > in the registry by name?  Some sample code would helpe me here, too.
> 
> Read the HOWTO mentioned above. It should answer all your questions.

I had read that HOWTO, but I see now that there's an improved version on
the Twisted web site.  That's what I was looking for, thanks!

Abe

p.s. Any chance of an updated twisted-doc package being released in the
near future?  I do a lot of development offline so I usually refer to my
local copy of the documentation.
-- 
Abe Fettig <abe at fettig.net>





More information about the Twisted-Python mailing list