[Zope] site structure (fwd)

Nuno Goncalves nuno@fccn.pt
Thu, 14 Dec 2000 17:59:35 +0000 (WET)


On Thu, 14 Dec 2000, Oleg Broytmann wrote:

> On Thu, 14 Dec 2000, Max M wrote:
> > If I where to do it in regular Python I would use special classes for
> > special layouts. That is hard to do in Zope.
> 
>    Why hard? Not hard at all - develop your own set of classes, make it
> into a Product, and use instance of these classes instead of DTML
> Documents. Actually, there is nothing special in DTML Documents - they are
> instances of DTMLDocument class, nothing more. Creating your own type of
> document is not harder, IMHO.

I was thinking about that to !
But how could you build a page with the template developed ??
something like:
<dtml var template(COMPONENTS LIKE HEADER AND FOOTER AS ARGUMENTS)>
and how can you generelize the objects to beeing used by the template ?


> 
> Oleg.
> ----
>      Oleg Broytmann     http://www.zope.org/Members/phd/     phd@phd.pp.ru
>            Programmers don't die, they just GOSUB without RETURN.
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
> 
>