[Zope3-dev] Re: ObjectHub/Event service: who sends those events anyway?

Steve Alexander steve@cat-box.net
Tue, 29 Oct 2002 10:39:02 +0000


> > For example, you would not need to get such an adapter for a Job in
> > the Job Board example. In that case, a JobBoard entirely manages its
> > Jobs, and the author made a deliberate decision not to use all of 

 > > the Zope 3 framework facilities.

>
> This may be common practice then, is that expected?

It is expected that you choose how much or little of the Zope 3 
framework you want to use, when designing your product.
However, you should also be aware of the costs and benefits of these 
descisions.

> How expensiove are calls to getAdapter?

They are pretty cheap. They would become extremely cheap if the adapter 
registries were written in C. This might come to pass, if, after 
profiling, calls to getAdapter appear to be a bottleneck. That's not 
important for now though.

--
Steve Alexander