[Zope3-dev] Re: Macro vs. Pagelet
Tonico Strasser
contact_tonico at yahoo.de
Mon Dec 13 14:13:49 EST 2004
Jean-Marc Orliaguet wrote:
> Tonico Strasser wrote:
>
>> I think I now finally understand the difference between a macro and a
>> pagelet :)
>>
>> A pagelet is a reuseable page component that can connect to a page via
>> interfaces and vice versa. Is that correct?
>>
>> Tonico
>>
>
> I think that these are basically two different approaches: one is the
> web developer approach (macros) the other is the application developer
> approach (pagelets). The latter has a higher abstraction level since
> rendering to HTML/XML ... comes last, almost as a feature. With macros
> the final rendering comes first.
>
> /JM
Sure, completly different.
Until now I thought I won't need pagelets because I can get most of my
job done with macros and Python scripts, after I realized that macros
cannot connect to interfaces (of course).
Without interfaces I can't see a use case for pagelets in my Web
projects. YMMW.
Tonico
More information about the Zope3-dev
mailing list