Wednesday, November 5, 2008

Zope 3 Views as multi-adapters

This diagram shows how Zope Views are implemented as multi-adapters. Student is a content class which implements IStudent interface. HTTPRequest objects are created when an HTTP request (either through Web browsers, or through XML-RPC calls) is made. StudentView is an adapter which adapts a Student object along with an HTTPRequest object and implements IBrowserView interface.

The diagram is not accurate reflection of design of browser views in Zope. It is just for demonstration of the idea of multi-adapters.
Posted by Picasa

1 comment:

multiplex pc said...

This is a really good post. Must admit that you are amongst the best bloggers I have read. Thanks for posting this informative on Multi Monitor Adapters.