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 

Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
Zope3-dev mailing list
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to