[Zope3-dev] spelling of namespace signifiers

Jim Fulton jim@zope.com
Wed, 05 Jun 2002 09:58:04 -0400


Casey Duncan wrote:
> 
> Here's a crazy idea, how about:
> 
> http://server/folder/container;view=index.html
> 
> I think this states the intent better because we are interested in the
> container object (not a subobject) and we really just want an alternate
> view of it which we can specify as a parameter.

The intent isn't that clear. I assume you want a view, named
index.html on container, which is an item in folder. Right? :)

> And you still get the file extension at the end.

True. 

I think that this approach has the disadvantage that relative
URLs are relative to the wrong thing, which is folder. To 
refer to another view on the container, you need to know 
the name of container.

> The problem I see with this is how do you then specify a view name? Well
> maybe then we can use the :: notation, or additional path segments:
> 
> http://server/folder/container;view=someview::index.html

I don't understand this. Isn't index.html the view name?

Jim

--
Jim Fulton           mailto:jim@zope.com       Python Powered!        
CTO                  (888) 344-4332            http://www.python.org  
Zope Corporation     http://www.zope.com       http://www.zope.org