[Zope3-dev] adaptation based on class rather than interface

Lennart Regebro regebro at gmail.com
Thu Nov 9 06:32:07 EST 2006


Sorry about the premature sending, I don't know what button I pressed...

Here we go again:

So instead of making a marker interface, which is two lines of code,
and two registrations, a total of six lines (with the imports), you
have an extra ZCML registration statement, which is three lines of
code. So you save three lines of code.

I'm not against your suggestion, but I'm not convinced it's actually useful. :-)

-- 
Lennart Regebro, Nuxeo     http://www.nuxeo.com/
CPS Content Management     http://www.nuxeo.org/


More information about the Zope3-dev mailing list