[Zope3-checkins]
SVN: Zope3/trunk/src/zope/publisher/interfaces/browser.py
The presentation service is gone.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Fri Sep 17 12:16:38 EDT 2004
Log message for revision 27597:
The presentation service is gone.
Added `ILayer`, `ISkin`, `IDefaultSkin` interfaces.
Changed:
U Zope3/trunk/src/zope/publisher/interfaces/browser.py
-=-
Modified: Zope3/trunk/src/zope/publisher/interfaces/browser.py
===================================================================
--- Zope3/trunk/src/zope/publisher/interfaces/browser.py 2004-09-17 16:16:35 UTC (rev 27596)
+++ Zope3/trunk/src/zope/publisher/interfaces/browser.py 2004-09-17 16:16:37 UTC (rev 27597)
@@ -15,13 +15,15 @@
$Id$
"""
-from zope.interface import Attribute
+from zope.interface import Interface, Attribute
+from zope.interface.interfaces import IInterface
from zope.publisher.interfaces import IPublication
from zope.publisher.interfaces import IPublishTraverse
from zope.publisher.interfaces.http import IHTTPApplicationRequest
from zope.publisher.interfaces.http import IHTTPRequest
+
class IBrowserApplicationRequest(IHTTPApplicationRequest):
"""Browser-specific requests
"""
@@ -100,3 +102,19 @@
nonempty sequence of names), then the publisher will try to adjust
the base href.
"""
+
+
+class ILayer(IInterface):
+ """A layer contains views of similar layout."""
+
+
+class ISkin(IInterface):
+ """A skin is a set of layers."""
+
+
+class IDefaultSkin(Interface):
+ """Any component providing this interface must be a skin.
+
+ This is a marker interface, so that we can register the default skin as an
+ adapter from the presentation type to `IDefaultSkin`.
+ """
More information about the Zope3-Checkins
mailing list