[Grok-dev] Querying the CA for grok'ed Views
trollfot at gmail.com
Sun Apr 19 16:43:08 EDT 2009
I'm ping-ing that thread, to get people reaction about that.
I still think a view should be able to provide a specific interface.
I can't see how that would break anything to any actual implementation.
Please, give your thoughts
2009/3/26 Kevin Teague <kevin at bud.ca>:
> On Mar 26, 1:58 pm, Souheil CHELFOUH <troll... at gmail.com> wrote:
>> Looking up through all the registry might be performance costy, though.
>> about class query :http://tracker.trollfot.org/browser/projects/dolmen/dolmen.packages/d...
> Thanks! The bit about using zope.interface.implementedBy to get the
> required interfaces was what I was missing.
> >From what I can tell though, the lookup API on the adapter registry
> caches all results, so only the first query should be performance
> intensive, after that it should be pretty quick?
> So is it possible to make the default View grokker register Views as
> providing IGrokView - e.g. Is there any reason this isn't done? Maybe
> this should be filed in the grok issue tracker?
> Grok-dev mailing list
> Grok-dev at zope.org
More information about the Grok-dev