[Product-Developers] difference between zope.View and zope2.View

Martin Aspeli optilude+lists at gmail.com
Tue Feb 22 21:29:37 UTC 2011


On 22 February 2011 15:57, Maurits van Rees <m.van.rees at zestsoftware.nl> wrote:
> Op 21-02-11 11:55, Yuri schreef:
>>
>> Hi all!
>>
>> which is the main difference betweeen zope.View and zope2.View? Which
>> should we use, for example, in a browser:view/page? Thank you very much.
>
> The main difference is that zope.View does not exist. :-)  At least I could
> not find it.  Grepping through (part of) the plone source code I only found
> zcml that used zope2.View.  So in Plone code (at least 2.5, 3, 4) you
> definitely need zope2.View.

I think KSS defined it at one point, and it's something that Zope 3
apps used to set up.

Martin



More information about the Product-Developers mailing list