[Zope3-dev] Re: Reducing the Amount of ZCML Directives ready for
review
Tres Seaver
tseaver at palladion.com
Mon Mar 20 08:39:15 EST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Philipp von Weitershausen wrote:
> Dominik Huber wrote:
>
>>I really appreciate your effort in all other cases, but in this case I
>>think its not a simplification.
>
>
> At least in case of class/implements it is. I'm merging two directives,
> class/implements and five:implements into one.
>
> The case of class/factory is arguable, I admit. However, there I'm just
> following the rule of a) defining things in Python and registering them in
> ZCML and b) use more basic ZCML directives, less special ones.
That "rule" is somewhat debatable (the debate seems ongoing).
I think we could argue the following equally well: if you find a
directive unuseful, *just don't use it*. Register *new* directives
(perhaps in a new namespace, if you want to reuse the names) which do
your "simpler / cleaner" thing.
Deprecation is not always a reasonable model, given disagreement about
the value of the simplification.
Tres.
- --
===================================================================
Tres Seaver +1 202-558-7113 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFEHrCD+gerLs4ltQ4RAnb7AJ9NyTYi9roHh6IrcyoxqbEeNpuBRgCeLhm3
f6Abhf0JvAOYKZ645Ev7tCQ=
=fvkA
-----END PGP SIGNATURE-----
More information about the Zope3-dev
mailing list