[Zope3-dev] Simplify Skinning ready for review / work on Reducing the Amount of ZCML Directives

Dominik Huber dominik.huber at perse.ch
Tue Feb 21 15:48:37 EST 2006


Philipp von Weitershausen wrote:
> Now that this proposal has been dealt with, I will turn my focus of
> attention to
> http://dev.zope.org/Zope3/ReducingTheAmountOfZCMLDirectives. Since my
> initial announcement of the proposal I made some minor ammendments
> regarding the 'content' directive. Please check them out and give me
> feedback. I plan to start working on the implementation this week.
I like those simplifications, but  I have two little objections...

The factory directive particularly within the class directive is very 
convenient and I use them fairly often. So I would miss that shortcut, 
because it saves a few lines of replicated code :(

In addition the coupling of class/factory and class/implements is very 
concise and handy too, if you like to include 'external' packages into 
your application. In such a case I don't like to write an extra modul 
for the factory implementation and the class-implements-declaration. IMO 
this use case is focused to a component registration aspect and zcml 
would be the right place to cover it.

I would vote to leave at least the class/factory and class/implements 
subdirectives.

Regards,
Dominik



More information about the Zope3-dev mailing list