I think you might find that zope3 generations address your requirement.&nbsp; <br><br>See:&nbsp; <a href="http://svn.zope.org/Zope3/trunk/src/zope/app/generations/README.txt?view=markup">http://svn.zope.org/Zope3/trunk/src/zope/app/generations/README.txt?view=markup
</a><br><br>As far as reloads go, it would be very useful, but my understanding is that it is hard to implement reliably.&nbsp; My workaround is to do as much development in your tests as possible, so I can mostly avoid restarts.&nbsp; Maybe someone else can explain exactly how hard it would be to add reloads.
<br><br>Matt<br><br><br><div><span class="gmail_quote">On 2/8/06, <b class="gmail_sendername">Behrang Dadsetan</b> &lt;<a href="mailto:bdadsetan@gmail.com">bdadsetan@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>when a class is augumented of a new attribute, my understanding is<br>that the instances created with the older version of the class will<br>not have that attribute. Will the interfaces and methods that are also
<br>updated to reflect the new attribute will fail on older instances?<br><br>Is there any migration tools used to &quot;update&quot; old instances? Does one<br>have to rewrite it every time one does an upgrade? I guess one could
<br>decide to populate that attribute with its default value like most<br>systems tend to do.. but what methods would I have handy?<br><br>Is a completely different strategy used, like versioning of classes<br>with templates and class method implementations linked to the specific
<br>version of the instance's class?<br><br>Maybe the problem I am talking about only concerns ZODB based<br>repositories of objects and not RDBs. Does everyone use RDBs?<br><br>Also how difficult would it be to add a runtime &quot;reload&quot; of zcml
<br>configurations or python modules? Was it a design decision not to have<br>this handy, or would such a feature be interesting for the community?<br><br>Thanks<br>Ben.<br>_______________________________________________<br>
Zope3-users mailing list<br><a href="mailto:Zope3-users@zope.org">Zope3-users@zope.org</a><br><a href="http://mail.zope.org/mailman/listinfo/zope3-users">http://mail.zope.org/mailman/listinfo/zope3-users</a><br></blockquote>
</div><br>