<br><br><div class="gmail_quote">2010/4/24 Christophe Combelles <span dir="ltr">&lt;<a href="mailto:ccomb@free.fr">ccomb@free.fr</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;">
Ilshad Khabibullin a écrit :<br>
&gt; Hi Christophe,<br>
&gt;<br>
&gt; 2010/4/23 Christophe Combelles &lt;<a href="mailto:ccomb@free.fr">ccomb@free.fr</a> &lt;mailto:<a href="mailto:ccomb@free.fr">ccomb@free.fr</a>&gt;&gt;<br>
<div class="im">&gt;<br>
&gt;     hi,<br>
&gt;<br>
&gt;     what about bringing back zope.app.apidoc ? It is a very useful tool<br>
&gt;     during<br>
&gt;     development and it allows to dynamically add other namespaces such<br>
&gt;     as z3c, zc,<br>
&gt;     and even the project packages. There is probably a few changes to do<br>
&gt;     in apidoc<br>
&gt;     registrations. A very good thing would then be to move it to<br>
&gt;     zope.apidoc later.<br>
&gt;<br>
&gt;<br>
&gt; We need this, it is powerfull tool, and developer can include apidoc in<br>
&gt; any moment. But I think, developer needs these features mostly in<br>
&gt; _some_context_, i.e. to inspect components &quot;on fly&quot;, not just to see<br>
&gt; docs. The more so the documentation should be moved out the doctests in<br>
&gt; future, yes? In this case displaying them via wsgi-server is not the<br>
&gt; best idea... there are editors, Sphinx, etc. Summary, lets&#39; divide:<br>
&gt;<br>
&gt; 1) Need to see dynamic data - i.e. components, relations between them.<br>
&gt; 2) Need to see static documentation.<br>
&gt;<br>
&gt; For dynamic data - inspect registry. Sometimes, we dive into exist zope3<br>
&gt; project and &quot;I am feeling that somewhere registered adapter, but where<br>
&gt; he, is the devil...&quot;.<br>
<br>
<br>
</div>I agree we need both static doc and dynamic doc.<br>
<br>
Because when the app can&#39;t start, there is no apidoc...  The<br>
<a href="http://apidoc.zope.org" target="_blank">http://apidoc.zope.org</a> already is a static doc. Is there a way to include the<br>
static generation tool in a project?<br>
<div class="im"><br>
<br>
&gt;<br>
&gt;     There is a way to enable it only in devmode with<br>
&gt;     zcml:condition=&quot;have devmode&quot;.<br>
&gt;     I think we can provide at least two buildout files for this purpose,<br>
&gt;     one for<br>
&gt;     production, one for development using devmode and apidoc.  It can be<br>
&gt;     easily done<br>
&gt;     with the templating system currently included.<br>
&gt;<br>
&gt;<br>
&gt; BlueBream is server-side software. When I create project, I need deploy<br>
&gt; this project on my sandbox and on server, in any case. So, I spend time<br>
&gt; for production-server-boilerplates, copy-past from older projects :)<br>
&gt;<br>
&gt; Then we need decide:<br>
&gt; 1) We provide the simple and policy-free template<br>
&gt; 2) Or we provide powerful template for server-side projects. It can be<br>
&gt; relatively polcy-free, I think.<br>
<br>
<br>
</div>I don&#39;t know what is the best. We need to ease both development and production,<br>
but we must not bring too much complexity, nor large configuration files.<br></blockquote><div><br>I mean both, yes, I.e. at least 2 - development and production. Which difference usual? In my practice, bootstrap user, includes to mail configurations (or just mailer directive directly in size.zcml) - at least in each project. Like to see more experience from other developers to make resolution.<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;">
So that beginners shouldn&#39;t be frightened.  It *must* remain easy to understand<br>
and easy to explain.<br>
We should probably do some tests in sandbox branches.<br>
<div class="im"><br></div></blockquote><div> </div>Difficult to find a balance - so let&#39;s define the goals.<div><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">
&gt;<br>
&gt;<br>
&gt;<br>
&gt;     If there is a way to do this without needing the templating, I would<br>
&gt;     be +1 to<br>
&gt;     remove the templating.<br>
&gt;<br>
&gt;<br>
&gt; alternative - zcml in .cfg files - here is example:<br>
&gt; <a href="http://paste.lisp.org/+23S0" target="_blank">http://paste.lisp.org/+23S0</a><br>
&gt;<br>
&gt; But it seems, templates is better... I&#39;m not sure exact... Personally<br>
&gt; for me, these big and mess buildout.cfg files is bad. And system<br>
&gt; administrators not liked this, I know (because we need provide<br>
&gt; instructions how to edit these files, remove or add bootstrap manager<br>
&gt; and etc.)<br>
<br>
</div>I&#39;m also *strongly* against including ZCML (and zope.conf) in the buildout. It<br>
make me think of the desperately giant plone buildouts I regularly see. It&#39;s<br>
unreadable, and most people are confused.<br>
<div class="im"><br>
<br>
&gt;<br>
&gt;<br>
&gt;     Same question for zope.app.onlinehelp and zope.app.preference ?<br>
&gt;     _______________________________________________<br>
&gt;     bluebream mailing list<br>
</div>&gt;     <a href="mailto:bluebream@zope.org">bluebream@zope.org</a> &lt;mailto:<a href="mailto:bluebream@zope.org">bluebream@zope.org</a>&gt;<br>
<div><div></div><div class="h5">&gt;     <a href="https://mail.zope.org/mailman/listinfo/bluebream" target="_blank">https://mail.zope.org/mailman/listinfo/bluebream</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Ilshad R. Khabibullin<br>
&gt; <a href="http://astoon.zwiki.org" target="_blank">http://astoon.zwiki.org</a><br>
&gt; +7 922 600 56 06<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Ilshad R. Khabibullin<br><a href="http://astoon.zwiki.org">http://astoon.zwiki.org</a><br>+7 922 600 56 06<br>