[Zope-CMF] [dev] listFilteredActionsFor and ActionProvider refactoring

Dieter Maurer dieter at handshake.de
Tue Nov 25 14:30:52 EST 2003


Yuppie wrote at 2003-11-25 15:57 +0100:
 > The implementation of my proposal is now checked in to 
 > yuppie-listActionInfos-branch.
 > 
 > I hope the caching code in Expression.getExprContext() and 
 > ActionInformation.getOAI() is ok now. If you still don't like the idea 
 > of caching ExpressionContext and OAI, please let me know.

There may be an issue with using "REQUEST" for caching -- maybe not
in this particular case:

   We are using Zope infrastructure extensively in non-Zope
   Python scripts that access the ZODB via ZEO.
   In such a use, there is not request object (at least not
   naturally).

   I already extended the "SkinsTool" to work without the need
   for a request object.

Currently, we do not need the "ActionsTool" from non-Zope scripts.
Maybe, this changes sometimes in the future.


-- 
Dieter



More information about the Zope-CMF mailing list