[Grok-dev] Viewlet document for layouts

Sebastian Ware sebastian at urbantalk.se
Tue May 13 12:15:09 EDT 2008


Thank's for putting the effort into writing the howto. I am however a  
real bone head.

Is this really a revolutionary new way of doing things, or just a  
different way?

I am really having difficulties understanding what the huge practical  
benefit is, but it sure raises the bar for a newbie who wants to  
understand how to create "proper" Grok apps.

I was hoping for the ViewletManager to contain some hooks where you  
could dynamically assemble the page. Then I was hoping for a magic way  
of doing theming.

I would have settled for a beautiful way of including subforms in the  
page, if this wasn't just as easy to do with macros and views.

As I said earlier, I am probably missing something, but so far this  
looks like "same, same..." to me.

Mvh Sebastian

10 maj 2008 kl. 01.23 skrev Tim Terlegård:

> I've written an example application showing how viewlets can be used
> to use the same layout on all pages and how to use different  
> stylesheets
> on different pages. It also shows how you can use grok.AddForm in a  
> viewlet.
>
> I uploaded the application to the grokapps section in svn:
>
> http://svn.zope.org/grokapps/SimpleViewletDemo/
>
> And a how-to is written that tries to explain viewlets and the  
> example application:
>
> http://grok.zope.org/documentation/how-to/using-viewlets-for-layout/view
>
> /Tim
> _______________________________________________
> 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