[Zope-dev] Block'ed

Chris Withers chrisw@nipltd.com
Mon, 23 Oct 2000 11:10:41 +0100


Michael Bernstein wrote:
> The diference (for me) between a View and a Block is whether
> they are intended to be accessed directly by a client
> (browser). Blocks also tend to be reuseable in many views (I
> typically have a Block (DTML Method) called main_navigation,
> for example), and can be composed of other Blocks. Views
> like index_html may be reused, but usually through
> acquisition, not recomposition.

I like the idea behind blocks, I think it's probably the best name yet
and described how most people use things like PythonMethods, external
method and DTML Methods :-)

cheers,

Chris