[Grok-dev] New grokcore for messages

Martijn Faassen faassen at startifact.com
Tue Mar 2 15:34:34 EST 2010


Souheil CHELFOUH wrote:
>> If you used grokcore.view and and grokcore.message together in an 
>> application, you would expect View.flash to be available. Does this
>> mean that grokcore.view needs to depend on grokcore.message?
>> 
> Well, yes. We have had plenty of problem with that, notably in
> megrok.layout, where we needed to have mixin for all the types, to
> get the application_url and flash. It would be harmless, in my
> opinion, to have grokcore.view depend on grokcore.message. That adds
> a package in the dependency and, if you don't need a messaging
> system, it's an overhead. But, it's the same about "static" and
> plenty other things, I guess.

I'm fine with this dependency, I was just checking whether you were
going to do it.

So anyway, again, +1 to grokcore.message (no plural), and +1 on a 
dependency from grokcore.view to grokcore.message.

Regards,

Martijn



More information about the Grok-dev mailing list