[Grok-dev] moving some directives around and changes in the view approach

Jan-Wijbrand Kolman janwijbrand at gmail.com
Wed Dec 30 15:05:17 EST 2009

Souheil CHELFOUH <trollfot at gmail.com> wrote:
> I'd like to move the directives :
> 1. "path"  from grokcore.view to grokcore.component (this is a really
> useful directive, I use it in dolmen.content, for instance)


> 2. "order" from grokcore.viewlet to grokcore.component


> 3. "view" from grokcore.viewlet to grokcore.view (it makes sense,
> since other package using grokcore.view might want to refer to a view
> with this directive)


> This would be, already, a nice improvement, according to me. This
> could be done before 1.1, as it's not a major changes for grok and it
> won't break any dependencies, as we are simply pulling the directives
> "up".

I'm -0 on this. I will not say -1 on it though, but the current state of the 1.1 
release *and* bringing in more changes in grok and have more releases of the 
grokcore.* family makes me slightly uneasy.

> In a second time, I'd like to discuss the future of the "view". It has
> been in the center of many discussion already, but I feel that there
> is a lot of room for improvement, like cutting the template classes
> and template grokking away from the grokcore.view to make it more
> generic.
> I want to fix the directive in a first move.

Yes, please, first the directives and have a properly release 1.1. Then we can 
continue on the bigger plan if you ask me.


More information about the Grok-dev mailing list