[Zope-dev] implementing zope.component 4.0

Martijn Faassen faassen at startifact.com
Tue Dec 1 10:10:41 EST 2009


Joachim König wrote:
[snip]
> To me the fact that an object "is" a singleton or a factory is 
> orthogonal to the registry stuff.
> 
> Why can't utilities be factories too that simply return themselves when 
> being called? Then being
> a singleton or not would be in the responsibility of the registered 
> object (class, factory, singleton)
> and the ZCA would not need to know.
> 
> What am I missing (except bbb)?

I don't think you're missing anything. It's just that others have a 
different perspective on this than you and me.

Regards,

Martijn



More information about the Zope-Dev mailing list