On Fri, 2009-09-25 at 20:51 -0700, Iain Duncan wrote: > Hi folks, I'm working on breaking out a project into bits, including > some in bfg, some in pylons, and an abstract model that lives in it's > own middleware. What I want to have happen is for all parts to share one > zca registry, but my experiments so far are turning up naught. Some > questions: > > - how would I get at the site manager from within the bfg code? I tried > getGlobalSiteManager, but it doesn't seem to turn up anything when I ask > the gsm for registeredAdapters, even though I put them in there
ok I solved this one, with getSiteManager > > - would it be possible somehow to use the same zcml from my abstract > model? If so, how would one go about creating a registry manually from a > given zcml file? > > - would it be better to manually make my registry in some middleware and > allow bfg to use it somehow? That seems to make the most sense to me > from a design perspective, but I've no idea how I'd go about it. Any help with the above two would still be awesome. Iain _______________________________________________ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev