[Zope-dev] explicit/controlled/filtered acquisition for Folders?

Dieter Maurer dieter@handshake.de
Sun, 10 Jun 2001 18:31:16 +0200 (CEST)


Michael Halle writes:
 > * ExplicitAcquisitionFolders would act as "limits" or "stops" that
 >   isolate different zope application trees from each other.  
 > 
 > * Controlled or filtered acquisition folders could have a property
 >   that declares which methods would be acquired, much like "import"
 >   statements in python.
The acquisition machinery supports all this.
Have a look at the acquisition documentation
in "lib/Components/ExtensionClass/doc/Acquisition.stx".

What you probably need:

  derive a new ObjectManager from Acquisition.Explicit and
  the current ObjectManager.

  provide an interface to manage the attributes that should
  be acquired implicitly.


Dieter