I was wondering to what extent people using ZPatterns find the Views one can
set up for a ZClass tolerant of the Role-centric approach followed by
ZPatterns.  For example:

        I have two Specialists, DocumentedProducts and Products.  The Products
specialist manages ZClasses of type 'Product'.  Products are remapped to
DocumentedProducts (where product plays the role of documented product).

Typically in Zope, ZClass Views has bearing on a single Zope Object and
Views are filtered according to User Roles, thus the focus is security.
ZPatterns makes it possible to extend the roles an object has.  Ideally the
Views in a ZPatterns Application framework would be security AND role (the
role the object plays) focused ie. when I look at a Product instance where
it plays the role of documented product, I might have the views FAQs,
HOWTOs, etc. But when I look at a Product inside the Products specialist I
want the views Properties, Associated Files, etc.

I like the idea of making the Views of a ZClass my starting point because at
least it already filters according to the role a user might have.

Any other ideas/comments?


Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to