[Zope3-dev] Notations for paths (was comments on Guido's diary)

Florent Guillaume fg@nuxeo.com
Thu, 19 Dec 2002 15:53:03 +0100


Steve wrote:
> Absolute paths and simple relative names (one step relative paths) are 
> used in Zope far more than relative paths. If we're always clear when 
> we're dealing with absolute paths, we don't need the '/' or ('',) at the 
> start, so we can use the simple expressions above.
> 
> We could then say that relative paths must start with "./" or ('.',).
> 
> Examples of relative paths:
> 
>    ('.', 'foo', 'bar')
>    './foo/bar'

I actually quite like this, but it's a big departure from Zope 2 so
maybe it would be difficult for developers.

Florent

-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87  http://nuxeo.com  mailto:fg@nuxeo.com