[Zope3-checkins] SVN: Zope3/trunk/src/zope/pagetemplate/readme.txt Updated to reflect reality (perhaps).

Jim Fulton jim at zope.com
Thu Jun 24 17:28:51 EDT 2004


Log message for revision 25970:
Updated to reflect reality (perhaps).

Also, rely on DEPENDENCIES.cfg and interfaces.py for more
documentation.



-=-
Modified: Zope3/trunk/src/zope/pagetemplate/readme.txt
===================================================================
--- Zope3/trunk/src/zope/pagetemplate/readme.txt	2004-06-24 21:27:42 UTC (rev 25969)
+++ Zope3/trunk/src/zope/pagetemplate/readme.txt	2004-06-24 21:28:50 UTC (rev 25970)
@@ -12,18 +12,6 @@
      a Zope context, it does *not* explain how to write page templates
      as there are several resources on the web which do so.
 
-  Dependencies
-
-    Zope3 Package Dependencies
-
-      - zope.tal (Template Attribute Language)
-
-      - zope.talInterface
-
-      - ZTUtils (batching utilities for zpt)
-
-      - The standard logging package ("logging") from Python 2.3.
-
   Simple Usage
 
     Using PageTemplates outside of Zope3 is very easy and straight
@@ -34,23 +22,6 @@
       >>> my_pt()
       u'<html><body>Hello World</body></html>'
 
-  Setting Up Contexts
-
-    Rendering a page template without binding data to is not very
-    interesting. By default keyword arguments you pass in page
-    templates appear in the options namespace.
-
-    pt_getContext(**keywords)
-        Should ignore keyword arguments that it doesn't care about,
-        and construct the namespace passed to the TALES expression
-        engine.  This method is free to use the keyword arguments it
-        receives.
-
-    pt_render(namespace, source=False, sourceAnnotations=False, showtal=False)
-        Responsible the TAL interpreter to perform the rendering.  The
-        namespace argument is a mapping which defines the top-level
-        namespaces passed to the TALES expression engine.
-
   Narrative (Subclassing PageTemplates)
 
     Lets say we want to alter page templates such that keyword
@@ -84,6 +55,8 @@
       pt.write(template)
       pt(das_object=foo())
 
+    See interfaces.py.
+
   Author
 
     Kapil Thangavelu <hazmat at objectrealms.net>



More information about the Zope3-Checkins mailing list