[Grok-dev] Re: ZCML
faassen at startifact.com
Thu Jul 31 13:38:10 EDT 2008
On Thu, Jul 31, 2008 at 7:31 PM, Dennis Noordsij
<dennis.noordsij at movial.fi> wrote:
>> Once you got your mini framework for menus going I'd be quite interested
>> in seeing this extracted as a megrok.viewletmenu or something, so we can
>> experiment with it. Note that Philipp recently ported Zope 3's menus
>> system (non-viewlet based) to Grok too, with megrok.menu. I think
>> eventually we need to consider including one of them into the Grok core.
> That would be interesting; have to figure some details (like which item
> is active right now, url resolving / sites, etc), but I'll try to
> extract something useful, a tutorial if anything, out of it.
Great, thank you!
> As for megrok.*, is there a framework or howto with the boilerplate
> stuff filled in ? (as in:
Hm, I don't think there's a tutorial for this yet; would be another
very useful thing to have! Certainly you can get some ideas from
looking at megrok.form, megrok.rdb, megrok.rdf or Philipp's
megrok.menu, or all the other megrok packages that are in
svn.zope.org. I think often people just start with a normal
grokproject and then remove what's not necessary.
gives you some idea on how to install a package in development mode in
another Grok application, useful when you want to try out your
megrok.* code before releasing it. This example is for grok itself,
but if you were to have some megrok.foo egg you wanted to install
you'd add it to your 'develop' line the same way (and you can ignore
the 'extends' stuff).
More information about the Grok-dev