[Grok-dev] Re: grok.Site
faassen at infrae.com
Mon Nov 6 11:44:23 EST 2006
Christian Theune wrote:
> Martijn Faassen wrote:
>> I must note that grok.App appears the first time in grok where we appear
>> to be inventing a new feature that isn't in Zope 3. Not necessarily a
>> bad thing, just something to be aware of.
> I do see recurring patterns of this usage though. E.g. by registering a
> "root" object as a utility that is named after the application and the
> doing getUtility()-Lookups that return this object.
Oh, I agree, the concept of an application root is valuable.
> Maybe this is a possible implementation for us too.
I just proposed something mirroring the implementation of 'site'. I
imagine this gains us a bit of performance above a utility lookup and
the implementation strategy for sites is well known and appears to work
More information about the Grok-dev