[ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Creating Basic Zope Applications

webmaster@zope.org webmaster@zope.org
Tue, 28 Jan 2003 12:43:10 -0500


A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/SimpleExamples.stx#3-5

---------------

      The *index_html* object provides a default view of the folder.  This
      is analogous to how an *index.html* file provides a default view for
      a directory in Apache and other web servers.

        % Anonymous User - Aug. 7, 2002 3:49 pm:
         Is there a reason index_html is used in Zope instead of index.html?

        % Anonymous User - Aug. 15, 2002 8:38 am:
         Trivial. index_html is a legal python name. index.html would have to be 
         accessed as self["index.html"] etc.

        % Anonymous User - Jan. 28, 2003 12:43 pm:
         Maybe a trivial question, but is index_html not a method as opposed to an object? If it is an object, when
         method is used (possibly aquired) to render it?