[Checkins] SVN: grok/branches/regebro-guido-templates/ Better texts.

Lennart Regebro regebro at gmail.com
Fri Oct 5 09:48:46 EDT 2007


Log message for revision 80646:
  Better texts.
  

Changed:
  U   grok/branches/regebro-guido-templates/CHANGES.txt
  U   grok/branches/regebro-guido-templates/src/grok/interfaces.py

-=-
Modified: grok/branches/regebro-guido-templates/CHANGES.txt
===================================================================
--- grok/branches/regebro-guido-templates/CHANGES.txt	2007-10-05 13:31:58 UTC (rev 80645)
+++ grok/branches/regebro-guido-templates/CHANGES.txt	2007-10-05 13:48:45 UTC (rev 80646)
@@ -7,8 +7,12 @@
 Feature changes
 ---------------
 
-* There is now a grok.direct() directive that can be used on GlobalUtilities to 
-  mark that the class provides the utility directly and need no instantiation.
+* Grok now supports hooking in new template languages without much work.
+  See Restructuring below for more info.
+
+* There is now a grok.direct() directive that can be used on GlobalUtilities
+  to mark that the class provides the utility interface directly and need 
+  no instantiation.
   
 * Integrated skins and layers. grok.layer, grok.IGrokLayer, grok.Skin 
 
@@ -36,12 +40,17 @@
 Restructuring
 -------------
 
-* All objects based on GrokPageTemplate is now grokked, instead of having
-  separate grokkers for each type of template.
+* The new pluggable template language support includes some restructuring:
 
-* The View is now completely template-language agnostic, which makes it 
-  easy to hook in new page template languages.
+  - All objects based on GrokPageTemplate is now grokked, instead of having
+    separate grokkers for each type of template.
 
+  - The View is now completely template-language agnostic, which makes it 
+    easy to hook in new page template languages.
+  
+  - There are now new interfaces (ITemplateFile and ITemplateFileFactory)
+    used when you implement support for a new templating language.
+
 * The <grok:grok /> ZCML directive now emits a configuration action
   instead of grokking right away at XML parsing time.  That way
   grokkers can depend on components that are set up using regular ZCML

Modified: grok/branches/regebro-guido-templates/src/grok/interfaces.py
===================================================================
--- grok/branches/regebro-guido-templates/src/grok/interfaces.py	2007-10-05 13:31:58 UTC (rev 80645)
+++ grok/branches/regebro-guido-templates/src/grok/interfaces.py	2007-10-05 13:48:45 UTC (rev 80646)
@@ -448,7 +448,7 @@
         """Renders the template. Args is a tuple of arguments."""
 
     def _factory_init(factory):
-        """Template language specific initializations on the view."""
+        """Template language specific initializations on the view factory."""
     
     def getDefaultVariables():
         """Returns a dictionary of template language specific variables."""



More information about the Checkins mailing list