[Zope3-dev] what is ZCML?

Jim Fulton jim at zope.com
Tue Mar 14 09:44:29 EST 2006


Jean-Marc Orliaguet wrote:
> Jim Fulton wrote:
> 
>>
>> Yup.
>>
>> BTW, a general thing to keep in mind:
>>
>> - Indirection and abstraction are inherently bad because they
>>   hide things. :)
>>   (This is a corolary of "explicit is better than implicit".)
>>
>> - But indirection and abstraction can provide benefits that outweight
>>   their inherent bad-ness.
>>
>> Whenever we consider ptoviding a high-level/automated facility, we have
>> to weigh the benefit against the inherient badness.
>> [...]
>>
>> Jim
>>
> 
> yes, except that ZCML adds strictly no abstraction compared to what 
> would have been written in python.  It only "paraphrases" python by
> hiding lines of code.

I was refering to high-level ZCML, such browser:page, browser:menu, etc
vs low-level directives like adapter.

Jim

-- 
Jim Fulton           mailto:jim at zope.com       Python Powered!
CTO                  (540) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org


More information about the Zope3-dev mailing list