[Zope-dev] Zope2 debug-mode vs ZCML dev-mode, ZCML conditionals

Andreas Jung lists at zopyx.com
Tue Sep 15 02:30:15 EDT 2009


On 15.09.09 08:27, Thomas Lotze wrote:
> Andreas Jung wrote:
>
>   
>> On 15.09.09 08:00, Thomas Lotze wrote:
>>     
>>> - Is Zope2 debug mode semantically equivalent to ZCML dev-mode, i.e.
>>>   should the two be linked to each other in the first place?
>>>   
>>>       
>> What is the ZCML dev-mode?
>>     
> It's a so-called ZCML "feature" that can be used with ZCML conditionals.
> It can be switched on like this:
>
> <meta:provides feature="devmode"/>
>
> and used elsewhere like this:
>
> <adapter zcml:condition="have devmode" factory="foo.bar.baz"/>
>   
I can not remember having seen any support this feature.
If you need it, please add it to the Zope 2 trunk (however too late
for the Zope 2.12 release, sorry :-))

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.vcf
Type: text/x-vcard
Size: 316 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope-dev/attachments/20090915/14f98450/attachment.vcf 


More information about the Zope-Dev mailing list