On 03/21/2011 10:59 AM, Chris McDonough wrote:
> On Mon, 2011-03-21 at 15:53 +0100, Lennart Regebro wrote:
>> It's easy and clear, but has the drawback of encouraging that
>> registration is done on import time, while scanning separates the
>> registration from the definition. I'm not sure how important that is.
>
> It's important to me, at least.  Registration-on-import effectively
> requires that there only be a single component registry for all
> applications in a process.  This is often fine for a given deployment,
> but as a framework strategy it seems very limiting.

+1.  Pyramid has proven (IMHO) that a component registry can be friendly 
to developers without being global.

Shane
_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
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 )

Reply via email to