Re: implementing zope.component 4.0

Martijn Faassen <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
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

_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.