[Grok-dev] Re: layers and skins

Kevin Smith kevin at mcweekly.com
Fri Apr 20 11:56:06 EDT 2007


Martijn Faassen wrote:
> grok.layer associates something with a layer. a view can be associated 
> with a layer. a skin can also be associated with a layer. Typically 
> you have way more views associated with a layer than skins of course, 
> but the direction of association is the same. Since grok.layer can be 
> used on module-level, sometimes you don't even have to mention the 
> layer the skin is working for explicitly.
>
IMO this best description of why grok.layer works and also feel that if 
a general rule could be extracted from this, it would make a great 
manifesto for future directives.


More information about the Grok-dev mailing list