crcn/dolce.js — Issue #10: need to have better definition of "middleware" and "endpoint"
Author: crcn
Created: 2012-02-19 23:16:29+00:00
State: open
Labels: changes

this:

```javascript
col.add('some/path/*');
```

implies that dir after path is handleable - it ALSO implies it's an endpoint

whereas:

```javascript
col.add('some/path*');
```

may imply some middleware.

Basic idea:

```javascript
col.add('some/path+'); //extend a path - always middleware
col.add('some/path/**'); //greedy endpoint or middleware
col.add('some/path**'); //greedy middleware
```