Re: [Zope-CMF] Making it easier to replace MemberData implementation

2009-05-17 Thread Charlie Clark

Am 16.05.2009 um 10:58 schrieb Jens Vagelpohl:

 I haven't chosen his particular implementation to reach that goal, but
 one that IMHO fits better with the direction we're going, by using a
 named factory utility. If no suitable utility is registered, the
 implementation falls back to the hardcoded MemberData class.


+10 ;-)

Charlie
--
Charlie Clark
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-782-6226



___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


[Zope-CMF] Making it easier to replace MemberData implementation

2009-05-16 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,

A second code change from Dieter's extensions for the Haufe publishing  
company deals with replacing the hardcoded MemberData wrapper inside  
MemberDataTool.wrapUser. Right now it is necessary to patch the class  
or provide your own tool to change the chosen MemberData class.

I haven't chosen his particular implementation to reach that goal, but  
one that IMHO fits better with the direction we're going, by using a  
named factory utility. If no suitable utility is registered, the  
implementation falls back to the hardcoded MemberData class.

Please take a look at the Launchpad entry I created[1], it contains a  
short description, links to the SVN branch(es) and patch file(s) to  
quickly see the necessary changes.

If you see a good reason to not merge the changes, please speak up,  
either here or via Launchpad issue comment. If no one speaks up, I  
will merge the change during the last week of May.

Thanks!

jens

[1] https://bugs.launchpad.net/zope-cmf/+bug/377208


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkoOgDkACgkQRAx5nvEhZLI/2ACfcraK3QByplgQdF1x5aI2sQ/k
8c4AnRo/SOdaY9WMx0gr7skXiGh2fyGw
=4eSF
-END PGP SIGNATURE-
___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests