[Grok-dev] How are viewlets better than macros?

Lennart Regebro regebro at gmail.com
Thu May 8 03:00:21 EDT 2008


On Thu, May 8, 2008 at 8:53 AM, Sebastian Ware <sebastian at urbantalk.se> wrote:
> gork.Viewlets are useless (for me who doesn't understand how they work) due
> to the current state of their documentation, so this puts us in a situation
> where I get to choose between useless and evil... I will have to dance with
> the devil for a little longer ;)

You don't have to use viewlets to replace macros. You can in fact
often just use small views that return snippets of HTML code, and call
them. Some macros can indeed be tricky to replace.
-- 
Lennart Regebro: Zope and Plone consulting.
http://www.colliberty.com/
+33 661 58 14 64


More information about the Grok-dev mailing list