[Zope-dev] Examples of ZODB.event

Jim Fulton jim at zope.com
Mon Feb 11 17:21:34 UTC 2013


On Mon, Feb 11, 2013 at 11:45 AM, Jean-Daniel
<jeandaniel.browne at gmail.com> wrote:
> Hello,
>
> I would like to build a config repository on the ZODB for an appliance where
> many processes would boot and talk to at boot to load their configuration.
>
> Some processes might modify or add new conf, and some different component
> should take this change of configuration into account.
>
> Is there any ZODB.event example app that I could read from? ZODB.event is a
> little too low level for me.
>
> I wish the subscribers would get a notification message like:
>
> - property modified. Ex: '(VideoComponent', 'server_port')
> - original value, new value. Ex: '8080', '1234'

This isn't a feature in ZODB yet.  Sorry.

When there is such a feature, it will be lower-level than that.
You'll be able to find out that an object changed, but not what
part of the object changed.

Jim

-- 
Jim Fulton
http://www.linkedin.com/in/jimfulton
Jerky is better than bacon! http://zo.pe/Kqm


More information about the Zope-Dev mailing list