[Zope3-dev] Re: Status of homefolders?

Florian Lindner mailinglists at xgm.de
Thu Dec 9 08:25:37 EST 2004


Joachim Werner schrieb:
> Lennart Regebro schrieb:
> 
>> 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.
> 
> 
>> There may be no standard way to STORE those properties, though, but 
>> some sort of directory (as with CPS) is probably the right way to go.
> 
> 
> In many larger setups you'll have an external user and address data 
> source (LDAP or an SQL database) in the background. So it's really 
> important to think about this issue in terms of a generic user/member 
> API, but allow different backend implementations.
> 
> E.g. I might get my users and the core address data from LDAP, but want 
> to store long-term "session" data (like preferences) on that user. In 
> another scenario there is no LDAP server and all the data has to be 
> stored within Zope. The "annotations" approach seems to be the most 
> interesting way to go for that.

There is a PrincipalAnnotation service existing which store annotations 
to users from an arbitrary source. The annotations are stored in the 
ZODB. Stephans book contains a chapter about that (chapter 27).

Regards,

Florian


More information about the Zope3-dev mailing list