[Zope-PTK] Getting it all to work ;-)

Shane Hathaway shane@digicool.com
Wed, 28 Jun 2000 15:20:19 -0400


Steve Alexander wrote:
> 
> Shane Hathaway wrote:
> >
> > On a related note: Can someone tell me why it is that PTK has been
> > designed to store information about users in the user objects?  Why not
> > store the preferences in the member folders?  Wouldn't that be easier
> > and more logical??
> 
> That's exactly what I've done on my PTK site. There are two classes of
> member, differentiated by Roles. The data about them gets stored in
> objects in their member folder.

Excellent.  Did you have to edit most of the DTML methods to achieve
that?  If you did, that's a major concern, since there needs to be an
*interface* that lets us achieve separation without breakage.  Is there
such an interface?  If so, it has eluded me...

> However, I can see cases where you'd want particular data stored about a
> member as part of that member's user record. For example, when you're
> getting the data for membership out of an LDAP database.
> 
> I think what we need here is flexibility to allow a PTK site to go with
> either way, or both ways.

I'll agree with that.

Shane