[Zope-dev] Re: PPropertyHandlers
Chris McDonough
chrism@digicool.com
Sun, 07 May 2000 00:42:42 -0400
I really like this idea.... I posted thoughts about it on the Interface
Wiki.
"Phillip J. Eby" wrote:
> Here's something to play with. It's not tested yet, not even tried to
> compile it yet. But it should give a basic idea of how PropertyHandlers
> might be implemented. One would use it like this:
>
> class MyZopeObject(...):
>
> myPropertyA = BasicPropertyHandler(
> id='myPropertyA', attr='_A'
> title='First Property',
> readPerm='Access MyZopeObject data',
> writePerm='Configure MyZopeObjects',
> dataType='int'
> )
>
--
Chris McDonough
Digital Creations
Publishers of Zope - http://www.zope.org