[Zope3-dev] what is ZCML?

Dieter Maurer dieter at handshake.de
Tue Mar 14 13:57:33 EST 2006


Lennart Regebro wrote at 2006-3-14 09:19 +0100:
>On 3/14/06, Sidnei da Silva <sidnei at enfoldsystems.com> wrote:
>> That is, to me, a very important feature. To be able to write some
>> python module that does not depend on Zope 3 at import time, but is
>> 'hooked into' Zope 3 externally, with ZCML, at 'configuration time'.
>
>Why is that important? In most cases you would have to write
>interfaces for the non-z3 python objects. Assuming you don't actually
>write them, but cheat and just mark them, you can get away with this,
>sure. But is it really that hard to write a small wrapper class
>instead?

And you can use Python, too, to mark them:

   You import the class and call an "implements" for it.

-- 
Dieter


More information about the Zope3-dev mailing list