[Zope3-checkins] SVN: Zope3/trunk/ Merge in latest content provider and viewlet API. This is for real, so

Stephan Richter srichter at cosmos.phy.tufts.edu
Tue Oct 25 00:53:43 EDT 2005


Log message for revision 39609:
  Merge in latest content provider and viewlet API. This is for real, so 
  please take the time, read the documentation and let us know, if you have 
  issues with the API. The current content provider API has been approved 
  and endoresed by Zope Corp (represented by Gary), Projekt01 (represented 
  by Roger) and SchoolTool (represented by Stephan).
  
  

Changed:
  U   Zope3/trunk/doc/CHANGES.txt
  D   Zope3/trunk/src/zope/app/viewlet/
  A   Zope3/trunk/src/zope/contentprovider/
  A   Zope3/trunk/src/zope/viewlet/
  U   Zope3/trunk/src/zope/viewlet/interfaces.py
  U   Zope3/trunk/src/zope/viewlet/metadirectives.py

-=-
Modified: Zope3/trunk/doc/CHANGES.txt
===================================================================
--- Zope3/trunk/doc/CHANGES.txt	2005-10-25 04:44:51 UTC (rev 39608)
+++ Zope3/trunk/doc/CHANGES.txt	2005-10-25 04:53:43 UTC (rev 39609)
@@ -81,11 +81,13 @@
         like unicode strings with respect to security proxying.  This
         implementation will replace the old one in upcoming versions.
 
-      - Implemented the concept of viewlets, formerly known as
-        pagelets. Viewlets allow you to insert pieces of content into
-        specified regions of a page. Using this base implementation, one could
-        easily implement pagelets and portlets.
+      - Implemented content providers, a new method of constructing
+        pages. Content providers will be used to develop high-level packages
+        providing many useful features.
 
+      - Implemented viewlets, an extension of content providers. Viewlets
+        allow one to easily develop component-driven UIs.
+
     Restructuring
 
       - Mutable MessageIDs have been deprecated and will be removed in

Copied: Zope3/trunk/src/zope/contentprovider (from rev 39607, Zope3/branches/roger-contentprovider/src/zope/contentprovider)

Copied: Zope3/trunk/src/zope/viewlet (from rev 39607, Zope3/branches/roger-contentprovider/src/zope/viewlet)

Modified: Zope3/trunk/src/zope/viewlet/interfaces.py
===================================================================
--- Zope3/branches/roger-contentprovider/src/zope/viewlet/interfaces.py	2005-10-25 04:01:56 UTC (rev 39607)
+++ Zope3/trunk/src/zope/viewlet/interfaces.py	2005-10-25 04:53:43 UTC (rev 39609)
@@ -19,7 +19,7 @@
 
 import zope.interface
 import zope.schema
-from zope.app.i18n import ZopeMessageIDFactory as _
+from zope.app.i18n import ZopeMessageFactory as _
 
 from zope.contentprovider.interfaces import IContentProvider
 from zope.interface.common.mapping import IReadMapping

Modified: Zope3/trunk/src/zope/viewlet/metadirectives.py
===================================================================
--- Zope3/branches/roger-contentprovider/src/zope/viewlet/metadirectives.py	2005-10-25 04:01:56 UTC (rev 39607)
+++ Zope3/trunk/src/zope/viewlet/metadirectives.py	2005-10-25 04:53:43 UTC (rev 39609)
@@ -20,7 +20,7 @@
 import zope.configuration.fields
 import zope.schema
 
-from zope.app.i18n import ZopeMessageIDFactory as _
+from zope.app.i18n import ZopeMessageFactory as _
 from zope.app.publisher.browser import metadirectives
 from zope.app.publisher.interfaces import browser
 



More information about the Zope3-Checkins mailing list