[Checkins] SVN: zope3book/trunk/source/browser-resouces.rst Added Introduction and Summary sections
Baiju M
baiju.m.mail at gmail.com
Mon Feb 23 03:04:32 EST 2009
Log message for revision 97132:
Added Introduction and Summary sections
Changed:
U zope3book/trunk/source/browser-resouces.rst
-=-
Modified: zope3book/trunk/source/browser-resouces.rst
===================================================================
--- zope3book/trunk/source/browser-resouces.rst 2009-02-23 07:56:28 UTC (rev 97131)
+++ zope3book/trunk/source/browser-resouces.rst 2009-02-23 08:04:32 UTC (rev 97132)
@@ -2,8 +2,8 @@
=================
-File Resource
--------------
+Introduction
+------------
Certain presentation, like images and style sheets are not associated
with any other component, so that one cannot create a view. To solve
@@ -11,6 +11,9 @@
components that do not require any context. This mini-chapter will
demonstrate how resources are created and registered with Zope 3.
+File Resource
+-------------
+
The first goal is to register a simple plain-text file called
`resource.txt` as a browser resource. The first step is to create
this file anywhere you wish on the filesystem, and adding the
@@ -18,7 +21,7 @@
Hello, I am a Zope 3 Resource Component!
-Now just register the resource in a ZCML configuration file using the
+Then, register the resource in a ZCML configuration file using the
`browser` resource directive::
<browser:resource
@@ -147,3 +150,9 @@
name="helloworld.html"
file="helloworld.html"
/>
+
+
+Summary
+-------
+
+This chapter introduced browser resources and narrated its usage.
More information about the Checkins
mailing list