[Zope3-Users] view vs page confused

Alex Furlong alex.furlong at gmx.de
Thu Jan 25 03:39:04 EST 2007


On Wed, Jan 24, 2007 at 08:31:52PM +0100, Dominique Lederer wrote:
> > can someone explain me please when to use browser:view and when browser:page?

>As far as I understand, the intended use of <browser:page> is to define
>views that are accessible to browsers by using URLs.

>The intended use of <browser:view> is to define helper views that are
>accessible to page templates in TALES expressions like
>tal:attributes="href context/@@absolute_url".

Thanks Marius for the nice explanation. Of course, the question remains why a view is named 'page' and an other kind of view is named 'view'.

Perhaps 'page' should be renamed to 'view' and 'view' should be renamed to '<fill_in_space_for_a_zope_guru>' :)

Greetings

Alex 
-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer


More information about the Zope3-users mailing list