[Zope3-dev] RFC: Content Providers and Viewlets

Stephan Richter srichter at cosmos.phy.tufts.edu
Tue Oct 18 08:35:35 EDT 2005


On Tuesday 18 October 2005 03:26, Dominik Huber wrote:
> ... the current viewlet implementation lacks of this pattern, because it
> use different adaptions for content providers and viewlets. Looking from
> this composite subview perspective, the view and manager parameters of
> viewlets brings some redundant informations. In my understanding this
> signature was choosen to gain a bigger presentation flexibility. Maybe
> we could use a pattern like the lookup of named templates (formlib) to
> decouple presentation of subviews, but using similar signature for
> content providers and viewlets.

It is redundant in the sense that you can get to some objects, like the view 
and request in two different ways, but it is not redundant from the 
discriminator point of view. You can always choose not to store the adapted 
objects.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the Zope3-dev mailing list