[Zope3-dev] Dependency cleanup: zope.traversing

Stephan Richter srichter at cosmos.phy.tufts.edu
Wed Aug 15 08:52:12 EDT 2007


On Wednesday 15 August 2007 08:01, Christian Theune wrote:
> zope.traversing has a dependency to zope.app.applicationcontroller. This
> is because zope.traversing implements the "etc" namespace and has a hard
> coded reference to "applicationcontrol" there.
>
> In the same place it also looks up site managers  (in a hard coded way).
>
> As a strategy to remove this dependency we should move the etc namespace
> to some other place in zope.app. I did not find reasonable candidates to
> move this two. Bad candidates are zope.app.publisher or
> zope.app.publication, zope.app.applicationcontrol. A new package could
> be created for the etc namespace too, but I'd like to avoid that.

I think that zope.app.component would be a good candidate, because "etc" is 
pretty much about accessing the local site. I know it was originally designed 
for allowing many different non-content things to be plugged in, but this has 
not materialized.

An alternative would be to get rid of ++etc++ and implement ++site++ and 
++control++. Now that I think about it, I actually favor this. ;-)

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the Zope3-dev mailing list