[Zope3-checkins] CVS: Zope3/src/zope/publisher/interfaces - browser.py:1.6.14.1 ftp.py:1.2.44.1 http.py:1.17.12.1 xmlrpc.py:1.3.12.1

Jim Fulton cvs-admin at zope.org
Sun Nov 9 11:09:06 EST 2003


Update of /cvs-repository/Zope3/src/zope/publisher/interfaces
In directory cvs.zope.org:/tmp/cvs-serv15349/src/zope/publisher/interfaces

Modified Files:
      Tag: adaptergeddon-branch
	browser.py ftp.py http.py xmlrpc.py 
Log Message:
Created a global presentation service that replaces the 
global view, resource, and skin services.

Now look up presentation components by adapting from a request type,
rather than adapting to a presentation type.





=== Zope3/src/zope/publisher/interfaces/browser.py 1.6 => 1.6.14.1 ===
--- Zope3/src/zope/publisher/interfaces/browser.py:1.6	Tue Jul 15 00:47:03 2003
+++ Zope3/src/zope/publisher/interfaces/browser.py	Sun Nov  9 11:08:35 2003
@@ -28,12 +28,6 @@
 from zope.publisher.interfaces.http import IHTTPApplicationRequest
 from zope.publisher.interfaces.http import IHTTPRequest
 
-
-class IBrowserPresentation(IPresentation):
-    """Browser presentations are for interaction with users using Web Browsers
-    """
-
-
 class IBrowserApplicationRequest(IHTTPApplicationRequest):
     """Browser-specific requests
     """
@@ -69,18 +63,6 @@
         """)
 
 
-class IBrowserResource(IBrowserPresentation, IResource):
-    """Browser View
-    """
-
-    def __call__():
-        """Return a URL for getting the resource
-
-        This URL should not be context dependent. Typically, the URL
-        will be based on the service that defined the resource.
-        """
-
-
 class IBrowserPublication(IPublication):
     """Object publication framework.
     """
@@ -126,5 +108,5 @@
         """
 
 
-class IBrowserView(IBrowserPresentation, IView):
+class IBrowserView(IView):
     "Browser View"


=== Zope3/src/zope/publisher/interfaces/ftp.py 1.2 => 1.2.44.1 ===
--- Zope3/src/zope/publisher/interfaces/ftp.py:1.2	Fri Apr 11 08:55:41 2003
+++ Zope3/src/zope/publisher/interfaces/ftp.py	Sun Nov  9 11:08:35 2003
@@ -22,7 +22,11 @@
 from zope.component.interfaces import IView
 
 from zope.publisher.interfaces import IPublishTraverse
+from zope.publisher.interfaces import IRequest
 
+class IFTPRequest(IRequest):
+    """FTP Request
+    """
 
 class IFTPCredentials(Interface):
 


=== Zope3/src/zope/publisher/interfaces/http.py 1.17 => 1.17.12.1 ===
--- Zope3/src/zope/publisher/interfaces/http.py:1.17	Fri Aug  8 14:08:14 2003
+++ Zope3/src/zope/publisher/interfaces/http.py	Sun Nov  9 11:08:35 2003
@@ -31,17 +31,6 @@
     """HTTP presentations are for interaction with users using Web HTTPs
     """
 
-class IHTTPResource(IHTTPPresentation, IResource):
-    """HTTP View
-    """
-
-    def __call__():
-        """Return a URL for getting the resource
-
-        This URL should not be context dependent. Typically, the URL
-        will be based on the service that defined the resource.
-        """
-
 class IHTTPView(IHTTPPresentation, IView):
     "HTTP View"
 


=== Zope3/src/zope/publisher/interfaces/xmlrpc.py 1.3 => 1.3.12.1 ===
--- Zope3/src/zope/publisher/interfaces/xmlrpc.py:1.3	Mon Aug  4 19:19:25 2003
+++ Zope3/src/zope/publisher/interfaces/xmlrpc.py	Sun Nov  9 11:08:35 2003
@@ -21,10 +21,7 @@
 from zope.component.interfaces import IPresentation
 from zope.publisher.interfaces import IPublication
 from zope.publisher.interfaces import IPublishTraverse
-
-
-class IXMLRPCPresentation(IPresentation):
-    """XMLRPC presentations are for interaction with user's"""
+from zope.publisher.interfaces.http import IHTTPRequest
 
 
 class IXMLRPCPublisher(IPublishTraverse):
@@ -41,6 +38,13 @@
         Returns (ob, steps_reversed).
         """
 
+class IXMLRPCPresentation(IPresentation):
+    """XML-RPC presentation
+    """
 
 class IXMLRPCView(IXMLRPCPresentation, IView):
     """XMLRPC View"""
+
+class IXMLRPCRequest(IHTTPRequest):
+    """XML-RPC Request
+    """




More information about the Zope3-Checkins mailing list