[Zope3-dev] context/@@absolute_url

Steve Alexander steve@cat-box.net
Wed, 11 Dec 2002 16:52:17 +0000


> As I recall the original discussion, one of the arguments in favor of
> the @@ notation was that it was (human) language nuetral.

Yes -- that applies when you want to have a container that can contain 
content with just about any name. The @@ is to disambiguate the names of 
the content of the container from names of views on the container.

The human-language neutral argument applies for how we want to spell 
URLs that appear in browsers, and get sent by email. It doesn't apply 
inside the code of page templates, or in python code. However, there are 
APIs that use the same convention, as this keeps things consistent.

So, in general, '@@something' means 'the "something" view'.

--
Steve Alexander