[Zope3-dev] Bringing the name game to a close, for now

Martijn Faassen faassen@vet.uu.nl
Mon, 10 Dec 2001 22:40:52 +0100


Lennart Regebro wrote:
> From: "Steve Spicklemire" <steve@spvi.com>
> > On Monday, December 10, 2001, at 03:05 PM, Jim Fulton wrote:
> >
> > > In Zope 3, the things currently called adapters will usually be used
> > > to provide new functionality. They will not only be used to translate
> > > interfaces.
> 
> > Hmm.. I guess it depends on how you look at it. Functionality is only
> > "new" for a little while.
> 
> Scratch "new" then. Adapters will provide additional functionality.
> 
> Jim does what he likes, obviously, but I think that the rename of features
> to adapters are adding to the confusion in the naming. Adapters is something
> you plug in between two things that does not otherwise fit, like a 110 to
> 220 v adapter. After the rename, we now call the electrical outlet
> "service", we call the radio "adapter" and we call the adapter "utility".
> :-)

We call the receiver and speakers the 'radio component' (content component
composed of two others). We call the layer that adds the dials and the 
display to the radio an adapter (that provides a view interface in this
case). This could also be a collection of adapters.

We could also use the same radio component as part of a larger system 
that doesn't get the dial and the display, but instead is combined with
a transmitter to make a two-way radio. This may have an entirely different
user interface. It may even be used in the bare by yet another component
instead as well (which may adapters for its view). Possibly this other 
component expects some special communications protocol that the radio 
doesn't provide by itself. Instead it has a 'communications adapter' which
makes it useful there, just as a phone system may have an adaptor to make
it conform to this communications protocol.

The radio component uses the electricity core service to get
power. A utility service is harder to find here, but perhaps there's
something like a 'sound carrying air' utility that is specific to scenarios
involving speakers (and that the speakers use).

Perhaps I have it all wrong. Let me know. :)

Regards,

Martijn