[Zope3-dev] Re: Dependency cleanup: zope.traversing
tseaver at palladion.com
Wed Aug 15 10:38:25 EDT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Stephan Richter wrote:
> 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. ;-)
Or change zope.traversing such that it looks up namespace-based stuff
via a named utility / adapter; then packages which supply a namespace
are not dependencies at all.
Tres Seaver +1 540-429-0999 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the Zope3-dev