On 4/5/06, Reinhold Strobl <[EMAIL PROTECTED]> wrote:
> What about the creation and destroying of views? Are they always created new,
> when a request receives? And then afterwards, are they destroyed? Or are they
> one created at program start?
> Well, since the constructor is called, I think they are always created new,


> but is there any documentation about that?

Well... Views are adapters, and that's how adapters work. Otherwise
you would have to have a pool of them that you need to keep track of
and know which ones are used and the reinitialize them and that would
just be complicated and error prone and have exactly no benefit. :)

Lennart Regebro, Nuxeo     http://www.nuxeo.com/
CPS Content Management     http://www.cps-project.org/
Zope3-users mailing list

Reply via email to