[Zope3-dev] Allowing views to be registered for classes rather
than interfaces.
Steve Alexander
steve@cat-box.net
Fri, 18 Jul 2003 19:54:27 +0300
> Conceptually speaking, to assert that a class (or object) implements an
> interface, is the same thing as saying that it may be adapted to that
> interface via a "null adapter".
The identity adapter?
> Thus, I disagree that explicit nonce interfaces are a "pure" design. To
> me, the pure design would be allowing adaptation from anything to
> anything (as PyProtocols does).
>
> Arguably, this is also more conceptually compatible with interfaces in
> other languages, where there is not nearly so sharp a line drawn between
> classes and interfaces as in Zope.
Do you know enough about Zope 3 to be able to say what features Zope 3
interfaces have that PyProtocols lacks?
--
Steve Alexander