[Checkins] SVN: zope3book/trunk/source/skinning.rst Bit cleanup

Baiju M baiju.m.mail at gmail.com
Wed Feb 25 01:14:16 EST 2009


Log message for revision 97235:
  Bit cleanup
  

Changed:
  U   zope3book/trunk/source/skinning.rst

-=-
Modified: zope3book/trunk/source/skinning.rst
===================================================================
--- zope3book/trunk/source/skinning.rst	2009-02-25 06:11:36 UTC (rev 97234)
+++ zope3book/trunk/source/skinning.rst	2009-02-25 06:14:16 UTC (rev 97235)
@@ -29,6 +29,7 @@
 `skin`.  Before proceeding, it would be better to understand the
 meaning these two terms in Zope 3 skinning.
 
+
 Layers
 ~~~~~~
 
@@ -43,6 +44,7 @@
 
 * Developed by Zope 3 Python developers
 
+
 Skins
 ~~~~~
 
@@ -56,7 +58,8 @@
 
 * Developed by HTML and Graphic Designer/Scripter
 
-Layers versus Skins
+
+Layers versus skins
 ~~~~~~~~~~~~~~~~~~~
 
 * Both are implemented as interfaces
@@ -77,7 +80,8 @@
 
 Skins are directly provided by a request
 
-Core Skins
+
+Core skins
 ----------
 
 * Access skin using ++skin++Name after the server root
@@ -101,7 +105,8 @@
 also avoid a lot of the overhead that comes with the over-generalized
 core skins.
 
-A New Skin
+
+A new skin
 ----------
 
 * Views registered for default layer by default
@@ -178,7 +183,7 @@
       />
 
 
-Setting up a Skin
+Setting up a skin
 ~~~~~~~~~~~~~~~~~
 
 Skins are technically interfaces defined using ``zope.interface``
@@ -193,8 +198,8 @@
 Write an interface for each new skin that inherits the Hello World
 application layer::
 
-      class IBasicSkin(IHelloWorldLayer):
-          """Basic Skin for Hello World App."""
+  class IBasicSkin(IHelloWorldLayer):
+      """Basic Skin for Hello World App."""
 
 To register this we will use ``interface`` and ``utility`` directives
 in ``zope`` namespace.  The type of the ``IShanghaiSkin`` skin is
@@ -222,12 +227,11 @@
       name="BasicSkin"
       />
 
-Register all templates for this skin by adding the layer attribute:
+Register all templates for this skin by adding the layer attribute::
 
-      layer=".interfaces.IBasicSkin"
+  layer=".interfaces.IBasicSkin"
 
 
-
 Using the skin
 ~~~~~~~~~~~~~~
 



More information about the Checkins mailing list