[Checkins] SVN: bluebream/website/docs/v1.0/tutorial2.rst always use full path to file in docs
Baiju M
baiju.m.mail at gmail.com
Tue Mar 9 22:24:46 EST 2010
Log message for revision 109879:
always use full path to file in docs
Changed:
U bluebream/website/docs/v1.0/tutorial2.rst
-=-
Modified: bluebream/website/docs/v1.0/tutorial2.rst
===================================================================
--- bluebream/website/docs/v1.0/tutorial2.rst 2010-03-09 21:59:31 UTC (rev 109878)
+++ bluebream/website/docs/v1.0/tutorial2.rst 2010-03-10 03:24:45 UTC (rev 109879)
@@ -24,9 +24,8 @@
functionalities. In fact, the collector object created in the last
chapter is a content component. In this chapter, you will create new
content objects like tickets and comments. Another thing you might
-be noticed that every content component, including container objects,
-there is well defined interface defined using ``zope.interface``
-module.
+be noticed that, every content component, including container
+components has well defined interfaces.
This chapter explore content components in more detail. After
completing this chapter, you should be able to:
@@ -134,7 +133,7 @@
Implementation
~~~~~~~~~~~~~~
-Next, you can implement this interface inside ``ticket.py``::
+Next, you can implement this interface inside ``src/tc/main/ticket.py``::
from zope.interface import implements
from tc.main.interfaces import ITicket
@@ -152,7 +151,8 @@
Configuration
~~~~~~~~~~~~~
-Then, register the interface & class::
+Then, register the interface & class. Open the
+``src/tc/main/configure.zcml`` and update it with these details::
<interface
interface="tc.main.interfaces.ITicket"
@@ -191,7 +191,7 @@
</html>
When you click on this link, it expects a view. You can create an
-AddForm inside ``views.py``::
+AddForm inside ``src/tc/main/views.py``::
from tc.main.interfaces import ITicket
@@ -208,7 +208,7 @@
self.context[number] = ticket
self.request.response.redirect('.')
-You can register the view inside `configure.zcml`::
+You can register the view inside ``src/tc/main/configure.zcml``::
<browser:page
for="tc.main.interfaces.ICollector"
More information about the checkins
mailing list