Re: Examples of ZODB.event

Jim Fulton <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <CAPDm-Fh7uQtefX5xm9NgADPYvqXrTRFrkZdLLxA+L4Ac_e1wVg@mail.gmail.com>
On Mon, Feb 11, 2013 at 11:45 AM, Jean-Daniel
<[email protected]> 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
_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.