[Checkins] SVN: z3c.jbot/trunk/README.txt Simplified instructions and added a note on the performance penalty.

Malthe Borch mborch at gmail.com
Tue Jul 15 12:56:53 EDT 2008


Log message for revision 88385:
  Simplified instructions and added a note on the performance penalty.

Changed:
  U   z3c.jbot/trunk/README.txt

-=-
Modified: z3c.jbot/trunk/README.txt
===================================================================
--- z3c.jbot/trunk/README.txt	2008-07-15 16:56:20 UTC (rev 88384)
+++ z3c.jbot/trunk/README.txt	2008-07-15 16:56:52 UTC (rev 88385)
@@ -9,7 +9,7 @@
 template overrides directory and give your new template the canonical
 filename.
 
-Overrides may be registered for a specific request-layer.
+Overrides may be registered for a specific layer or any layer.
 
 
 Canonical filename
@@ -28,13 +28,9 @@
 Registering a on overrides directory
 ------------------------------------
 
-In python:
+A Zope component configuration directive is available to configure
+overrides.
 
-  >>> from z3c.jbot.utility import getManager
-  >>> getManager().registerDirectory(directory)
-
-Using ZCML:
-
   <include package="z3c.jbot" file="meta.zcml" />
   
   <browser:templateOverrides
@@ -42,6 +38,14 @@
       layer="<layer>" />
   
 
+Performance considerations
+--------------------------
+
+The use of jbot adds to the general page load time. On a site with
+many templates this may be as much as 25 ms per request (a 9% increase
+on my machine).
+
+      
 Author
 ------
 



More information about the Checkins mailing list