[Zope-dev] Re: [Geeks] Re: Interface Meta Data proposal

Shane Hathaway shane@digicool.com
Tue, 28 Nov 2000 16:58:47 -0500


Chris McDonough wrote:
> 
> Is security really a part of an object's interface?  I thought this was more
> of an implementation thing.

When refactoring the PTK it became apparent that supplying security
assertions on the interface rather than the implementation can be very
useful.  In fact, an interesting pattern emerged: "view" objects needed
no security assertions as long as the "model" objects had all the
necessary assertions.

I'm not sure if there is any basis for this idea in current OO
methodology, but I really think the concept has merit.  It certainly
clarifies Zope security IMHO.

Shane

> ----- Original Message -----
> From: "Michel Pelletier" <michel@digicool.com>
> To: "Geeks Mailing List" <geeks@digicool.com>
> Cc: <zope-dev@zope.org>
> Sent: Tuesday, November 28, 2000 4:05 PM
> Subject: [Geeks] Interface Meta Data proposal
> 
> >
> > I've added a sub-proposal to the Interface proposal for describing
> > additional meta-data with Interface objects:
> >
> > http://www.zope.org/Wikis/Interfaces/ExtesableMetaData
> >
> > Please comment about this interesting possibility.
> >
> > -Michel
> >