<div>If you want simple:</div>
<div>1. download this product and put it into your products directory.  </div>
<div><a href="http://www.zope.org/Members/gtk/Boring">http://www.zope.org/Members/gtk/Boring</a></div>
<div>2. Start Zope and go to <a href="http://127.0.0.1:8080/manage">127.0.0.1:8080/manage</a> and add the Boring product. Click test, there is your url.</div>
<div>3. Modify the &#39;Boring&#39; code and repeat.</div>
<div> </div>
<div>-Tim<br><br></div>
<div class="gmail_quote">On Tue, Mar 10, 2009 at 3:06 PM, David Zejda <span dir="ltr">&lt;<a href="mailto:dvid@atlas.cz">dvid@atlas.cz</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="im">-----BEGIN PGP SIGNED MESSAGE-----<br>Hash: SHA1<br><br></div>Thanks for a tips,<br><br>I have looked on the Guide you suggested.<br>I think I understand the concepts, but still missing something.<br>To make the simplest case,<br>
<br>1. I started with fresh instance prepared by the paster,<br>2. created this source:<br><br># src/my.py<br>class Contact(object):<br>   &quot;blah blah&quot;<br><br>   firstName = &quot;aaaa&quot;<br><br>c = Contact()<br>
<br>3. to the sys.path in bin/instance added the &quot;/path/to/src&quot; (which<br>contains my.py),<br>4. started instance and checked, that the /path/to/src is on loaded<br>sys.path,<br>5. pointed browser to localhost:8091/c/firstName .<br>
<br>Resource c not found, Zope says. Yes, it can&#39;t be SO simple, but<br>please, what should I do?<br><br>Thanks for your patience..<br><br>David<br><br>Lennart Regebro napsal(a):<br>
<div class="im">&gt; On Sat, Mar 7, 2009 at 23:21, David Zejda &lt;<a href="mailto:dvid@atlas.cz">dvid@atlas.cz</a>&gt; wrote:<br>&gt;&gt; And now, please, what to do now, to have a few python lines somewhere in<br>&gt;&gt; the egg dir, which the zope would know how to deal with?<br>
&gt;<br>&gt; The &quot;egg dir&quot; as you call it is a Python module, and you put Python<br>&gt; code there. Zope knows how to deal with it, that is not the problem.<br>&gt; What you need to do is get the Python code to deal with Zope. :)<br>
&gt;<br>&gt;&gt; And on what url will be the &quot;hello world&quot; available then?<br>&gt;<br>&gt; That is completely up to you. :)<br>&gt;<br>&gt;<br>&gt; The question now, is this Zope 3 or Zope 2?<br>&gt;<br>&gt; For Zope 3, you should probably get a book. <a href="http://worldcookery.com/" target="_blank">http://worldcookery.com/</a><br>
&gt; There was another book to in the beginning of Zope 3, but I don&#39;t know<br>&gt; it has been updated.<br>&gt; You could also, for Zope 3, opt to use Grok, which is a framework<br>&gt; built on Zope 3 that makes Zope 3 easier: <a href="http://grok.zope.org/" target="_blank">http://grok.zope.org/</a><br>
&gt;<br>&gt; For Zope 2, you can start here: <a href="http://docs.zope.org/zope2/zdgbook/source/" target="_blank">http://docs.zope.org/zope2/zdgbook/source/</a><br>&gt; Then, you should probably buy the above book too. Zope 3 technologies<br>
&gt; are getting very common in Zope 2.<br>&gt;<br></div>-----BEGIN PGP SIGNATURE-----<br>Version: GnuPG v1.4.9 (GNU/Linux)<br>
<div class="im">Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org/" target="_blank">http://enigmail.mozdev.org</a><br><br></div>iEYEARECAAYFAkm25GQACgkQ3oCkkciamVFQ0QCeOHfaWDV4dSvM+TaZKyIyNpKC<br>JpEAn0R65e8asVaogcfaCeQF5qDoj1vb<br>
=FtXB<br>-----END PGP SIGNATURE-----<br>
<div>
<div></div>
<div class="h5">_______________________________________________<br>Zope maillist  -  <a href="mailto:Zope@zope.org">Zope@zope.org</a><br><a href="http://mail.zope.org/mailman/listinfo/zope" target="_blank">http://mail.zope.org/mailman/listinfo/zope</a><br>
**   No cross posts or HTML encoding!  **<br>(Related lists -<br> <a href="http://mail.zope.org/mailman/listinfo/zope-announce" target="_blank">http://mail.zope.org/mailman/listinfo/zope-announce</a><br> <a href="http://mail.zope.org/mailman/listinfo/zope-dev" target="_blank">http://mail.zope.org/mailman/listinfo/zope-dev</a> )<br>
</div></div></blockquote></div><br>