Hi, I have a growing web application which implements sophisticated search and reporting functionality. To decouple some of our components, I would like to use the ZCA, but I'm not perfectly sure how to do it.
The first question would be, how to access the registry in the correct way during startup. I would like to register some utilities and adapters while application startup to use them later in my views. Currently I'm using the registry property of my Configurator instance, which seems to work, but I feel a bit unsure if it's supposed to be used that way. The second question would be, if I should use that registry at all? Or should I just go for registerUtility & Co from zope.component? I will need to adapt IRequest, but as it's a plain zope.interface.Interface, it should not be a problem to register adapters for it in the "plain" ZCA. Any hint about dos and don'ts would be very appreciated! cheers, Achim -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/d/optout.
