[Twisted-Python] New PB connection API

Patrick K. O'Brien pobrien at orbtech.com
Mon Jul 28 11:53:25 MDT 2003


Itamar Shtull-Trauring <itamar at itamarst.org> writes:

> First sketch is in CVS. Please comment if you have any issues with it,
> I'd like to refactor old APIs to use new API next.

I just converted several apps to use your new api.  It was pretty
painless.  I'm not sure what benefit I got out of it, but since it was
painless I'll assume it was worthwhile and will let you clean things
up in the core.

Related to this, I'm gearing up to covert my existing apps to use new
cred, instead of old cred, and I'm not clear how perspectives fit into
the new cred world-view.  Based on your new pb API, can I assume
perspectives still have a place with PB apps?

Even my woven apps are using guard.PerspectiveWrapper/SessionWrapper,
which gets a Resource object from the Perspective instance that I
retrieve when the user logs in.  Is this a completely deprecated
approach, or not?

-- 
Patrick K. O'Brien
Orbtech      http://www.orbtech.com/web/pobrien
-----------------------------------------------
"Your source for Python programming expertise."
-----------------------------------------------





More information about the Twisted-Python mailing list