[Grok-dev] Bonked

Paul Wilson paulalexwilson at gmail.com
Fri Dec 12 09:29:50 EST 2008

2008/12/12 Sebastian Ware <sebastian at urbantalk.se>:
> 12 dec 2008 kl. 12.00 skrev Paul Wilson:
>> My questions are - is this even possible? If so, how do I write
>> packages that are grokked by my grokker? I know (thanks to a previous
>> question on Grok-Dev) I can register my grokker through meta.zcml, so
>> will something similar need to be included in the component plugin
>> packages that says "I'm a plugin package that is to be grokked by
>> 'MyGrokker'!". I think ZCML is going to be the answer, but I haven't
>> found any documentation covering how ZCML works in Grok.
> Wouldn't you register the plugins in setup.py and then use a mechanism
> similar to "grok.Application"? I think you should look at how they have
> implemented automatic registration through grok.Application and (stoping it
> with) grok.baseclass(). Then I guess you could make the plugins available
> through named global utlities or something like that. Just a thought.

Thanks Sebastian. I think I'll be spending lots of time studying the
existing code understanding how it all fits together, and how to
extend it. It's a picture that's becoming clearer by the day...

Roll on those docstrings Brandon! :-)


More information about the Grok-dev mailing list