[Grok-dev] Re: Skinning/themeing
kevin at mcweekly.com
kevin at mcweekly.com
Sun May 20 02:11:40 EDT 2007
Quoting Martijn Faassen <faassen at startifact.com>:
> Kevin Smith wrote:
> [snip code sample showing viewlets in quarry]
>
> That looks pretty nice, and I almost feel I understand them. Thanks. :)
>
>> In ZPT land, Deliverance and MatchView are orthogonal to viewlets.
>> When used properly, they are a much simpler and powerful mechanism
>> for creating pluggable UI's like Trac uses. If however, Grok were
>> template neutral, I'm not sure what kind of a role *if any*
>> viewlets could play.
>
> What about template-language neutrality would make viewlets difficult?
> (or unnecessary? I'm not sure what you mean there).
Viewlets rely on talnamespaces. Though very convenient to use and very
easy to write, I still find how talnamespaces are *pulled* into the
template very mysterious. i.e. /zope:title , /provider:myviewlets
I suppose on further thought, some compatible method may exist to
*push* the same data.
>
> Regards,
>
> Martijn
>
> _______________________________________________
> Grok-dev mailing list
> Grok-dev at zope.org
> http://mail.zope.org/mailman/listinfo/grok-dev
More information about the Grok-dev
mailing list