martian directives and dependencies

View: New views
3 Messages — Rating Filter:   Alert me  

martian directives and dependencies

by Souheil CHELFOUH :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Grokkers,

Discussing this Sylvain, I realized that I was not alone in my misery
: we both do use the "view" and "order" directives without necessarly
needing grokcore.viewlet. There directives are very useful and are
re-used in many megrok packages.

In order to keep the dependencies sane, we'd like to :

1. move "view" to the grokcore.view package. I think it's a sane move,
since this directive defines a relation between a component and a view

2. move "order" to grokcore.component. This directive is totally
independant from the notion of viewlet and would be a nice way to
order components (subforms, menu items...)


What do you think ? If you are OK with these changes, we can do it
within next week !

- Souheil "trollfot"
_______________________________________________
Grok-dev mailing list
Grok-dev@...
https://mail.zope.org/mailman/listinfo/grok-dev

Re: martian directives and dependencies

by Christian Klinger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Soheil;

+1

Christian

> Hello Grokkers,
>
> Discussing this Sylvain, I realized that I was not alone in my misery
> : we both do use the "view" and "order" directives without necessarly
> needing grokcore.viewlet. There directives are very useful and are
> re-used in many megrok packages.
>
> In order to keep the dependencies sane, we'd like to :
>
> 1. move "view" to the grokcore.view package. I think it's a sane move,
> since this directive defines a relation between a component and a view
>
> 2. move "order" to grokcore.component. This directive is totally
> independant from the notion of viewlet and would be a nice way to
> order components (subforms, menu items...)
>
>
> What do you think ? If you are OK with these changes, we can do it
> within next week !
>
> - Souheil "trollfot"


_______________________________________________
Grok-dev mailing list
Grok-dev@...
https://mail.zope.org/mailman/listinfo/grok-dev

Re: martian directives and dependencies

by Jan-Wijbrand Kolman-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> In order to keep the dependencies sane, we'd like to :
>
> 1. move "view" to the grokcore.view package. I think it's a sane move,
> since this directive defines a relation between a component and a view

Not sure, but not against it.

> 2. move "order" to grokcore.component. This directive is totally
> independant from the notion of viewlet and would be a nice way to
> order components (subforms, menu items...)

+1

regards,
jw

_______________________________________________
Grok-dev mailing list
Grok-dev@...
https://mail.zope.org/mailman/listinfo/grok-dev