Re: Refresh patterns and ACLs

From: Tres Seaver <tseaver_at_palladion.com>
Date: Sat, 30 Aug 2008 15:18:38 -0400

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tres Seaver wrote:
> Tres Seaver wrote:
>> Mark Nottingham wrote:
>>> I'm not convinced it's a great solution, but something like URISpace
>>> may be appropriate;
>>> http://www.w3.org/TR/urispace.html
>>> What's nice about this is that you buy some efficiency by walking down
>>> the tree, rather than evaluating a linear set of rules...
>> Interesting spec: I can see uses for it elsewhere. A quick question,
>> (since grubbing around shows you to be the author;): in section 3.3,
>> "Path Segments," the semantics of <path match="foo"> are to match the
>> "next" element in the current path, right? Rather than matching any
>> random element (CSS style), or (for instance) the last element (which
>> would be useful in particular for the empty pattern and filename globs).
>
>> Is the spec frozen / dead, or could we suggest additions? E.g.:
>
>> <path any="archives">
>
>> and:
>
>> <path last="">
>
>> I can certainly put such extensions into another namespace, but they
>> seem reasonably tightly connected to the existing "first match" semantics.
>
> BTW, I have banged out a Python implementation of a good bit of the
> spec, including extensions for "last element" and "any element" path
> selectors. I plan to use the library in conjunction with various WSGI
> middleware to allow for URI-based selection of things like theme, role
> grants, and caching headers:
>
> http://pypi.python.org/pypi/repoze.urispace
>
> (I'll work on getting the ReStructuredText on that page to render later).

The PyPI page is still unrendered, but cooked versions of the docs are
online here:

 http://static.repoze.org/urispacedocs/

Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver_at_palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIuZ0O+gerLs4ltQ4RAhZPAJ9q/PKve7pgOkMNkeojd9RRhLJ+zwCgvL1F
iowu4qiHOq8fhgsuomi+fiQ=
=eSDv
-----END PGP SIGNATURE-----
Received on Sat Aug 30 2008 - 19:18:50 MDT

This archive was generated by hypermail 2.2.0 : Sun Aug 31 2008 - 12:00:06 MDT