Using ZCML, we can define behavior and interfaces for objects outside of code.
使用 ZCML, 我们可以为代码以外的对象定义行为和接口了。
This is done via ZCML, an extensible configuration language that defines and describes components for use in Zope 3.
这可以通过ZCML来实现,ZCML是一个扩展配置语言,用于在Zope 3中定义和描述组件。
ZCML may appear to be verbose, and I have not always been its biggest fan, but I have learned that it is almost always better to be explicit than implicit.
ZCML 也许显得有点繁杂,我也不总是它的狂热份子,但我认识到清晰明白几乎总是要比晦涩不明来得好。
应用推荐