<div dir="ltr"><div><div>Ok thanks, I can implement that in the controller code wrapping the ZODB.<br><br></div>The Model-View-Controller says the model can update the views. I find it hard actually find a model which really has the the capability to notify the views directly. What we usually get, unlike the diagram from Wikipedia, is that the views only talk to the controller, which only talks to the model. Wikipedia calls this variant the passive MVC.<br>
<br><a href="http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller">http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller</a><br><br></div>Regards,<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Feb 12, 2013 at 7:38 AM, Jean-Daniel <span dir="ltr">&lt;<a href="mailto:jeandaniel.browne@gmail.com" target="_blank">jeandaniel.browne@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>Ok thanks, I can implement that in the controler code wrapping the ZODB.<br><br></div>The Model-View-Controller <br><br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">
On Mon, Feb 11, 2013 at 6:21 PM, Jim Fulton <span dir="ltr">&lt;<a href="mailto:jim@zope.com" target="_blank">jim@zope.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>On Mon, Feb 11, 2013 at 11:45 AM, Jean-Daniel<br>
&lt;<a href="mailto:jeandaniel.browne@gmail.com" target="_blank">jeandaniel.browne@gmail.com</a>&gt; wrote:<br>
&gt; Hello,<br>
&gt;<br>
&gt; I would like to build a config repository on the ZODB for an appliance where<br>
&gt; many processes would boot and talk to at boot to load their configuration.<br>
&gt;<br>
&gt; Some processes might modify or add new conf, and some different component<br>
&gt; should take this change of configuration into account.<br>
&gt;<br>
&gt; Is there any ZODB.event example app that I could read from? ZODB.event is a<br>
&gt; little too low level for me.<br>
&gt;<br>
&gt; I wish the subscribers would get a notification message like:<br>
&gt;<br>
&gt; - property modified. Ex: &#39;(VideoComponent&#39;, &#39;server_port&#39;)<br>
&gt; - original value, new value. Ex: &#39;8080&#39;, &#39;1234&#39;<br>
<br>
</div></div>This isn&#39;t a feature in ZODB yet.  Sorry.<br>
<br>
When there is such a feature, it will be lower-level than that.<br>
You&#39;ll be able to find out that an object changed, but not what<br>
part of the object changed.<br>
<span><font color="#888888"><br>
Jim<br>
<br>
--<br>
Jim Fulton<br>
<a href="http://www.linkedin.com/in/jimfulton" target="_blank">http://www.linkedin.com/in/jimfulton</a><br>
Jerky is better than bacon! <a href="http://zo.pe/Kqm" target="_blank">http://zo.pe/Kqm</a><br>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div>