[Zope3-dev] Zope 3 Alpha 1 in 2002
Jim Fulton
jim@zope.com
Thu, 31 Oct 2002 09:15:31 -0500
Gary Poster wrote:
> From: Craeg K Strong
>
> I have one question, however: we make heavy use of the pre-traversal
> hooks to do URL swizzling, in order to abide by ReST architectural
> principles. Will some pre-traversal hooks or equivalent functionality
> exist in alpha1?
>
> ---
>
> Hi Craeg. I'm hoping that this takes off an email from Jim's to-do
> list.
> :-) Jim mentioned today that he had found these hooks useful in his
> most recent Zope 3 work. I believe he said that they are in one of the
> branches going now, and that they are implemented by looking for objects
> that declare implementations of the given interfaces for the two hooks
> (pre- and post-) and then calling those objects with names similar or
> identical to the Zope2 hook names.
>
> Jim, is that a "yup" or a "nope"? :-)
Nope. :)
The hooks I mentioned to you are for object addition and deletion.
The hooks Craeg refers to do are only half implemented. The publishing
framework includes them, but we haven't decided how application objects
(or their adapters or views) should support them,
Jim
--
Jim Fulton mailto:jim@zope.com Python Powered!
CTO (888) 344-4332 http://www.python.org
Zope Corporation http://www.zope.com http://www.zope.org