[Zope3-dev] RFC: death to getView, getDefaultViewName, and getResource

Tres Seaver tseaver@zope.com
15 May 2002 18:53:00 -0400


On Wed, 2002-05-15 at 18:21, Gary Poster wrote:
> I think I noticed absolute url was implemented as a view; I thought it was an 
> odd choice, but is there a good reason for it to be a view?  If so, whatever 
> the reason is might be an argument to keep the non-request version.

Unlike physical path, 'absolute_url' needs to be adjusted to correspond
to any virtual hosting which is in place;  hence, it depends on the
request, and is therefore a view.

Tres.
-- 
===============================================================
Tres Seaver                                tseaver@zope.com
Zope Corporation      "Zope Dealers"       http://www.zope.com