[Zope3-dev] Re: Status of homefolders?
Stephan Richter
srichter at cosmos.phy.tufts.edu
Thu Dec 9 08:29:51 EST 2004
On Thursday 09 December 2004 06:38, Lennart Regebro wrote:
> I agree with Maxs view of member properties being a mess. Zope3 should
> probably solve this, however. There was earlier talk about annotations
> of users, I didn't follow that very closely. Maybe the port of PAs into
> Zope3 touches on this. But if it's done by annotation or by another way,
> there will be a standard API for setting properties on users.
Zope 3 has a general annotations mechanism. Principal data is stored in
principal annotations. You can put whatever data you like in there. Also,
since a principal is created every time you authenticate, you pull up his/her
relevant data by listening to the PrincipalCreatedEvent.
Zope poses no restrictions on the data you can store and where to store it. It
only requires a principal to have an id and an optional title and
description. Not even the login information is directly handled by the
principal.
Regards,
Stephan
--
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
More information about the Zope3-dev
mailing list