[Zope-CMF] Re: [dev] enhancing Actions: a rough proposal
yuppie
y.2004_ at wcm-solutions.de
Wed Nov 24 06:25:16 EST 2004
Hi Dieter!
Dieter Maurer wrote:
> yuppie wrote at 2004-11-23 20:55 +0100:
>
>>Dieter Maurer wrote:
>>
>>>If you think, Action providers can still be useful (which I am sure),
>>>why would you like to remove its base class?
>>
>>Because ActionProviderBase is not a general base class for Action
>>providers. It's a mix-in class that implements one kind of Action provider.
>
>
> A mix-in class is what is needed as the using classes
> will have other primary tasks.
That's exactly what I don't like: Classes that have other primary tasks
but act as just another Action provider. See below.
>>Special Action providers can still be useful, but I believe that's only
>>true if they work different than ActionProviderBase or the folderish
>>ActionsTool I propose.
>
>
> Why do you believe so?
If they are different, they are useful because they provide Actions in a
way the ActionsTool can't.
If they are just another Action provider, the only benefit is that we
can store the Actions inside of related tools. The price for that is high:
- additional action providers add complexity to the site
- in many cases it is not obvious where to store or find an Action
- defining the order of Actions is harder
Cheers,
Yuppie
More information about the Zope-CMF
mailing list