[Zope3-dev] Re: zcml questions
Tres Seaver
tseaver at palladion.com
Mon Sep 25 14:50:31 EDT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jim Fulton wrote:
> On Sep 25, 2006, at 1:44 PM, Chris Withers wrote:
>
>> Jim Fulton wrote:
>>>> It would *also* require that we
>>>> implement the "no side-effects during parsing" policy (my other
>>>> favorite
>>>> "dead horse" in arguments about ZCML's implementation / usage).
>>> Beat away. :) I've been in favor of this for some time. This is
>>> definitely a goal.
>> Can we have a papal edict that zcml that has side effects is a bug?
>> (including the dotted name thing...)
>
> No, but I'm definitely in favor of refactoring existing handlers so
> they do pretty much all of their work in the actions they generate.
We'll need to remove the parse-time error checking of name resolution
then, which means storing filename / line number information with each
dotted name so that the failed resolution can be reported when actions
are running.
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.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFGCT3+gerLs4ltQ4RAjubAKCAx3bjFDTQIJP2+NljAPNQJcwyYACglvno
K4C1uDLz8e4M2MvIy1+w2TA=
=srEr
-----END PGP SIGNATURE-----
More information about the Zope3-dev
mailing list