<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-19026079.post5179867091573562027..comments</id><updated>2008-01-25T17:08:56.530+01:00</updated><title type='text'>Comments on ..: hannosch :..: Fewer Zope Server restarts</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.hannosch.eu/feeds/5179867091573562027/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19026079/5179867091573562027/comments/default'/><link rel='alternate' type='text/html' href='http://blog.hannosch.eu/2008/01/fewer-zope-server-restarts.html'/><author><name>Hanno Schlichting</name><uri>http://www.blogger.com/profile/02880767944793425548</uri><email>hannosch@gmail.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-19026079.post-351818585889234025</id><published>2008-01-25T17:08:00.000+01:00</published><updated>2008-01-25T17:08:00.000+01:00</updated><title type='text'>Is this only supposed to pick up ZCML changes? I t...</title><content type='html'>Is this only supposed to pick up ZCML changes? I tested it with Plone 3.0.5 and got the expected &lt;I&gt;Global ZCML reloaded.&lt;/I&gt; message, but changes to a view class weren't picked up. (That's all I'm interested in ATM...)&lt;BR/&gt;&lt;BR/&gt;So, should that work or am I expecting too much? At any rate, thanks hannosch for venturing into this area!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19026079/5179867091573562027/comments/default/351818585889234025'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19026079/5179867091573562027/comments/default/351818585889234025'/><link rel='alternate' type='text/html' href='http://blog.hannosch.eu/2008/01/fewer-zope-server-restarts.html?showComment=1201277280000#c351818585889234025' title=''/><author><name>tomster</name><uri>http://tomster.myopenid.com/</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.hannosch.eu/2008/01/fewer-zope-server-restarts.html' ref='tag:blogger.com,1999:blog-19026079.post-5179867091573562027' source='http://www.blogger.com/feeds/19026079/posts/default/5179867091573562027' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-19026079.post-2084890589886454085</id><published>2008-01-25T14:02:00.000+01:00</published><updated>2008-01-25T14:02:00.000+01:00</updated><title type='text'>I could not wait to try this out. :)I tried this o...</title><content type='html'>I could not wait to try this out. :)&lt;BR/&gt;&lt;BR/&gt;I tried this on both Plone 3.0.5 and on ploneout trunk.  Calling @@zcml_reload on the zope root goes fine, but I see nothing happening.&lt;BR/&gt;&lt;BR/&gt;What I tried is simply changing the name of a browser view (breadcrumbs_view =&gt; breadcrumbs_view2).  After reloading the zcml, the old view was still available (fine with me really), but the new view could not be found.&lt;BR/&gt;&lt;BR/&gt;Is this the kind of zcml change that should work with plone.reload?  Or should I be trying different things?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19026079/5179867091573562027/comments/default/2084890589886454085'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19026079/5179867091573562027/comments/default/2084890589886454085'/><link rel='alternate' type='text/html' href='http://blog.hannosch.eu/2008/01/fewer-zope-server-restarts.html?showComment=1201266120000#c2084890589886454085' title=''/><author><name>maurits</name><uri>http://mauritsvanrees.myopenid.com/</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.hannosch.eu/2008/01/fewer-zope-server-restarts.html' ref='tag:blogger.com,1999:blog-19026079.post-5179867091573562027' source='http://www.blogger.com/feeds/19026079/posts/default/5179867091573562027' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-19026079.post-5060731560756948855</id><published>2008-01-25T10:40:00.000+01:00</published><updated>2008-01-25T10:40:00.000+01:00</updated><title type='text'>@graham: Make sure you loaded the packages configu...</title><content type='html'>@graham: Make sure you loaded the packages configure.zcml. In buildout via the zcml option of the instance recipe and you use the ZODB root and not a Plone site as the base url - in a ZEO environment you usually need to use the port number of one of the ZEO clients and not port 8080 which might be rewritten to the Plone site.&lt;BR/&gt;&lt;BR/&gt;@jon: The idea of reloading only parts of your running Python code witout a full restart is pretty nice, especially as it can be done automatically. The problem is the exact way you do this. While refreshng uses a more subtle way than the old Zope2 product refresh which is less likely to break it still cannot support many of the ways in which we write code. While some could probably be added like support for decorators or class methods, other techniques like monkey patching are inherently more difficult to support. At this point I'd say that you could use refreshng for your own add-ons but using it against anything in the Plone core distribution is likely to cause problems.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19026079/5179867091573562027/comments/default/5060731560756948855'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19026079/5179867091573562027/comments/default/5060731560756948855'/><link rel='alternate' type='text/html' href='http://blog.hannosch.eu/2008/01/fewer-zope-server-restarts.html?showComment=1201254000000#c5060731560756948855' title=''/><author><name>Hanno Schlichting</name><uri>http://www.blogger.com/profile/02880767944793425548</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='13479045292802356879'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.hannosch.eu/2008/01/fewer-zope-server-restarts.html' ref='tag:blogger.com,1999:blog-19026079.post-5179867091573562027' source='http://www.blogger.com/feeds/19026079/posts/default/5179867091573562027' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-19026079.post-7716268248306818428</id><published>2008-01-25T05:31:00.000+01:00</published><updated>2008-01-25T05:31:00.000+01:00</updated><title type='text'>I'm curious to hear more about why RefreshNG is "n...</title><content type='html'>I'm curious to hear more about why RefreshNG is "nice but scary."</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19026079/5179867091573562027/comments/default/7716268248306818428'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19026079/5179867091573562027/comments/default/7716268248306818428'/><link rel='alternate' type='text/html' href='http://blog.hannosch.eu/2008/01/fewer-zope-server-restarts.html?showComment=1201235460000#c7716268248306818428' title=''/><author><name>Jon Stahl</name><uri>http://www.blogger.com/profile/01965431267437542533</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.hannosch.eu/2008/01/fewer-zope-server-restarts.html' ref='tag:blogger.com,1999:blog-19026079.post-5179867091573562027' source='http://www.blogger.com/feeds/19026079/posts/default/5179867091573562027' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-19026079.post-1614055932168903349</id><published>2008-01-25T04:24:00.000+01:00</published><updated>2008-01-25T04:24:00.000+01:00</updated><title type='text'>During my buildout (Plone 3.0.5 Unified Installer ...</title><content type='html'>During my buildout (Plone 3.0.5 Unified Installer Plus Buildout (Experimental)) the following lines appeared &lt;BR/&gt;&lt;BR/&gt;Getting distribution for 'plone.reload'.&lt;BR/&gt;Got plone.reload 0.1.&lt;BR/&gt;&lt;BR/&gt;but then tagging /@@zcml_reload to the root URL of my site results in &lt;BR/&gt;&lt;BR/&gt;Resource not found&lt;BR/&gt;&lt;BR/&gt;Regards&lt;BR/&gt;Graham</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19026079/5179867091573562027/comments/default/1614055932168903349'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19026079/5179867091573562027/comments/default/1614055932168903349'/><link rel='alternate' type='text/html' href='http://blog.hannosch.eu/2008/01/fewer-zope-server-restarts.html?showComment=1201231440000#c1614055932168903349' title=''/><author><name>Graham John Perrin</name><uri>http://grahamperrin.myopenid.com/</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.hannosch.eu/2008/01/fewer-zope-server-restarts.html' ref='tag:blogger.com,1999:blog-19026079.post-5179867091573562027' source='http://www.blogger.com/feeds/19026079/posts/default/5179867091573562027' type='text/html'/></entry></feed>