Hi,<br><br><div class="gmail_quote">2010/5/4 Martijn Faassen <span dir="ltr">&lt;<a href="mailto:faassen@startifact.com">faassen@startifact.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi there,<br>
<br>
Does BlueBream intend to maintain the ZMI?</blockquote><div><br>Not.<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> If not, then I thikn there&#39;s<br>

now a way to detach BlueBream from most of zope.app.* (at least for new<br>
projects. Zope 3 projects that want to upgrade to BB would need the<br>
zope.app.* packages until the code can be updated).<br>
<br></blockquote><div><br>Yes.<br><br>BTW, we need note this for demo applications.<br></div><div> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

We worked this out for Grok but I thought I&#39;d sketch it out here.<br>
<br>
Grok now needs of zope.app.* only:<br>
<br>
zope.app.appsetup<br>
zope.app.wsgi<br>
zope.app.publication<br>
zope.app.http<br>
<br>
I think BlueBream could also be set up to only use this set of packages.<br>
<br>
In order to do this, the main thing we had to do was dump the dependency<br>
on zope.app.zcmlfiles and zope.app.testing. To replace<br>
zope.app.zcmlfiles you simply need to write a biiig ZCML file for the<br>
standard BlueBream app (or some BlueBream library package) that includes<br>
all the required ZCML.</blockquote><div><br>Now it is done.<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> This ZCML should not need to include any<br>

zope.app.* packages except the ones above, and of course the required<br>
zope.* packages.<br>
<br></blockquote><div>But - for the next releases. Current release, BB 1.0 uses zope.app.*<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Replacing zope.app.testing: we&#39;ve done the work for you in the<br>
zope.app.* packages above (I think we still have an test dependency on<br>
it in zope.app.http, the rest is free of it too). If you want to use<br>
functional tests you can rewrite your tests to use the<br>
zope.app.wsgi.testlayer infrastructure. This also includes a way to use<br>
zope.testbrowser without zope.app.testing, through WSGI.<br>
<br></blockquote><div><br>Wow. Need discussion... :)<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Anyway, I thought this was a cool development and wanted to share this<br>
with the BlueBream people so that they can hopefully use this too.<br>
<br>
Regards,<br>
<br>
Martijn<br>
<br>
<br>
_______________________________________________<br>
bluebream mailing list<br>
<a href="mailto:bluebream@zope.org">bluebream@zope.org</a><br>
<a href="https://mail.zope.org/mailman/listinfo/bluebream" target="_blank">https://mail.zope.org/mailman/listinfo/bluebream</a><br>
</blockquote></div><br><br><br>-- <br>Ilshad R. Khabibullin<br><a href="http://astoon.zwiki.org">http://astoon.zwiki.org</a><br>+7 922 600 56 06<br>