[Zope] site structure (fwd)

Nuno Goncalves nuno@fccn.pt
Thu, 14 Dec 2000 18:18:43 +0000 (WET)


> > 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 ?
> 
>    No, no, no! :)
>    You misunderstand how the Zope works. You think that basic building
> block is a piece of HTML (probably you think to put it into DTML
> Documents). No. In Zope basic building block is "instance of some python
> class". A DTML Document is an instance of DTMLDocument class, e.g.
>    If you develop your own set of classes, you'll just build Zope sites
> creating instances of these classes - you put HTML fragmenst just into
> these instances. Zope will call your objects, you don't need to use DTML to
> call them.

humm !!! I see now !!
So i can have a general structure for all my site and when create a
page, specifying the template to use and consequently adding the objects
that i want ??

Nuno

> 
> Oleg.
> ----
>      Oleg Broytmann     http://www.zope.org/Members/phd/     phd@phd.pp.ru
>            Programmers don't die, they just GOSUB without RETURN.
> 
>