[Zope3-dev] Re: Last chance to comment on Simplify skinning

Florent Guillaume fg at nuxeo.com
Fri Feb 24 11:30:10 EST 2006

Benji York wrote:
> Gary Poster wrote:
>> What if we still deprecated browser:layer but  kept a redefined 
>> version of browser:skin?  Then your zcml--
>>       <interface
>>           interface=".interfaces.ShanghaiSkin"
>>           type="zope.publisher.interfaces.browser.IBrowserSkinType"
>>           />
>>       <utility
>>           component=".interfaces.ShanghaiSkin"
>>           provides="zope.publisher.interfaces.browser.IBrowserSkinType"
>>           name="ShanghaiSkin"
>>           />
>> could become
>>      <browser:skin component=".interfaces.ShanghaiSkin" name="ShanghaiSkin" />
> Even though it's longer, I still like the interface/utility version.  I 
> think it really helps the developer understand what's going on and that 
> it's not magic.  The decreased brevity is of secondary concern to me.

Helping the developer understand what's happening is laudable, but that's 
ultimately the job of documentation. When line count reduction is as drastic 
as the above, I really don't have a problem with having shortcut ZCML 


Florent Guillaume, Nuxeo (Paris, France)   Director of R&D
+33 1 40 33 71 59   http://nuxeo.com   fg at nuxeo.com

More information about the Zope3-dev mailing list