[Zope-CMF] Store development with CMF (new guy)

Shane Hathaway shane@zope.com
Tue, 27 May 2003 15:42:12 -0400


sean.upton@uniontrib.com wrote:
> Unfortunately, a lot of apps (I think, including CMFDefault, Plone) depend
> on accessing decorated "member object" instead of non-decorated users, or at
> least accessing certain properties (either via PropertyManager methods or to
> my displeasure via direct attribute access).  I've just operated under the
> assumption that there are 'official' interfaces that members and the
> memberdata tool need to support, and de-facto ones: for example, it isn't
> documented anywhere that the memberdata tool needs to implement the
> PropertyManager interface, but many applications and skin scripts
> applications assume it does, i.e. in ZPTs to iterate through propertyIds()
> for a user-properties form.  Given this, I decided in my tools to target the
> assumptions that applications make about the interface of these components
> instead of just their official interfaces.

I'm sorry to hear that so many applications are broken.  CMF product 
authors: do not rely on portal_memberdata.  Assume it does not exist.

Shane