[Zope] index_html, method or doc?


Wed, 27 Jun 2001 08:43 -0700


You know... index_html could be an image, or anthing that a browser can render, and it'll still work as the default object that zope calls.

The previous note on this, below, is not correct--aside from acronym.

Richard

> ------------ Original Message -----------
> From: Thomas B. Passin <tpassin@mitretek.org>
> Date: Wed, 27 Jun 2001 11:10:48 -0400
> 
> I think that the previous posts on this subject have mixed up two
> different
> thoughts, and I would like to clearly separate them.
> 
> 1) Should index_html BE a DHTML document or should it be a DHTM  method?
> 
> 2) Should index_html USE DHTML methods?
> 
> On number 1) it needs to be a document, not a method.  It will be
> requested
> from a browser and needs to have its own context, including the REQUEST
> and
> so on, so it needs to be a document.
> 
> On number 2), index_html may very well use DHTM methods as a convenience
> to
> avoid cramming all the code into one page, which would also prevent any
> reuse of that code.
> 
> Jan Sew, does this answer your question?
> 
> Cheers,
> 
> Tom P
> 
> 
> _______________________________________________
> 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 )