Design: Idiom for classes and methods that are customizable by the user?

Dirk Bächle tshortik at gmx.de
Sun May 15 06:23:36 EDT 2016


Hello Dieter,

Am 13.05.2016 um 09:21 schrieb dieter:
> Dirk Bächle <tshortik at gmx.de> writes:
>> ...
>> My questions
>> ============
>>
>> - Is this a good approach, that I could use for other parts of the architecture as well, e.g. the Node class mentioned above?
>
> You might look at the "adpater" pattern.
>
> It is heavily used in Zope - and there looks something like:
>

thanks a lot for bringing up Zope, I'll definitely have a look at it.

Best regards,

Dirk



More information about the Python-list mailing list