Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: CMF

Making it easier to replace MemberData implementation

 

 

Zope cmf RSS feed   Index | Next | Previous | View Threaded


jens at dataflake

May 16, 2009, 1:58 AM

Post #1 of 2 (335 views)
Permalink
Making it easier to replace MemberData implementation

-----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[at]lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

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


CHARLIE at BEGEISTERT

May 17, 2009, 2:45 AM

Post #2 of 2 (300 views)
Permalink
Re: Making it easier to replace MemberData implementation [In reply to]

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[at]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 RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.