[Zope3-dev] zcml abbreviations

Lennart Regebro regebro at gmail.com
Fri Feb 17 16:34:36 EST 2006


On 2/17/06, Shaun Cutts <shaun at cuttshome.net> wrote:
> But I think it can be sensibly used. There are many places in the zcml
> defs where there are long blocks of repetitive definitions where only a
> few names change. If the number of directives is seriously paired back,
> these blocks are likely to get longer and more repetitive. If you set
> the abbreviation at the top of the block, then your eye can see the
> important parts that actually change in the following section of
> "expands". And if there is something wrong with the definition, you can
> change it all in one place.

I think in this case maye some sort of complex directive would be more
useful, but it should be in the base zcml.

--
Lennart Regebro, Nuxeo     http://www.nuxeo.com/
CPS Content Management     http://www.cps-project.org/


More information about the Zope3-dev mailing list