[Zope3-dev] RFC: death to getView, getDefaultViewName, and getResource
Gary Poster
garyposter@earthlink.net
Wed, 15 May 2002 19:33:07 -0400
On Wednesday 15 May 2002 06:53 pm, Tres Seaver wrote:
> 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.
Ah. Makes sense. Thanks.
And to the question at hand, it therefore seems to provide no argument to
keep the questionable functions.
Gary