[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/services -
cache.py:1.4
Stephan Richter
srichter at cosmos.phy.tufts.edu
Tue Aug 19 14:34:57 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/interfaces/services
In directory cvs.zope.org:/tmp/cvs-serv19346/interfaces/services
Modified Files:
cache.py
Log Message:
Just to make it worth the effort, here is the rewrite of the Caching Service
to use local utilities. I am amazed how much cruft can go away. There are
still some dead chickens left that can be easily fixed by providing a
default overview screen for these services and remodeling the local utility
service a bit.
Jim,
noone has complained about the changes yet. Are you guys at ZC having a fit
with it? I think in general people just not use these components heavily
yet and it is no big deal to create them, since their data does not contain
much programming logic (i.e. they are easily recreated) and there are only
a few around ata time usually.
=== Zope3/src/zope/app/interfaces/services/cache.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/interfaces/services/cache.py:1.3 Sat Jun 21 17:22:10 2003
+++ Zope3/src/zope/app/interfaces/services/cache.py Tue Aug 19 13:34:21 2003
@@ -15,13 +15,9 @@
$Id$
"""
+from zope.app.interfaces.services.event import IEventChannel
+from zope.app.interfaces.services.service import ISimpleService
+from zope.app.interfaces.cache import ICachingService
-from zope.app.interfaces.services.registration \
- import INamedComponentRegistration
-
-class ICacheRegistration(INamedComponentRegistration):
- """Cache registration
-
- Cache registrations are dependent on the caches that they configure. They
- register themselves as component dependents.
- """
+class ILocalCachingService(ICachingService, IEventChannel):
+ """TTW manageable caching service"""
More information about the Zope3-Checkins
mailing list