[Zope-CMF] Proposal: MemberDataFactory

Wichert Akkerman wichert at wiggy.net
Wed Mar 18 11:12:51 EDT 2009


Previously Miles wrote:
> We have quite a lot of copy-and-paste code here in order to support 
> using a custom MemberData class for members in particular sites.
> 
> The reason for this is that the only way to use a different MemberData 
> class is to provide a custom wrapUser method.
> 
> I'd like to propose that this is changed to use a factory registered 
> through the CA to create new MemberData objects, in order that this is 
> pluggable without requiring a custom MemberDataTool.

Can you explain the use case? I suspect you can also solve this with PAS
and a custom user factory PAS plugin.

Wichert.

-- 
Wichert Akkerman <wichert at wiggy.net>    It is simple to make things.
http://www.wiggy.net/                   It is hard to make things simple.


More information about the Zope-CMF mailing list