[openstack-dev] [wsme] [ironic] [ceilometer] [magnum] [kite] [tuskar] WSME unmaintained ?

Chris Dent chdent at redhat.com
Fri Apr 17 10:54:12 UTC 2015


On Fri, 17 Apr 2015, Julien Danjou wrote:

> After using Pecan for a while, I'm leaning toward explicit routing too.
> This Falcon API looks right too.
> Honestly Pecan is messy. Most of the time, when coding, you have no clue
> which one of the method is going to be picked in which controller class.

Yes, and there's no straightforward way (that I can find) to dump
the available routes (which is handy for testing, debugging,
documenting, etc).

While Falcon's style is a clear step in the right direction I think
it would be even better with a slight extension (which may already
exist, if it doesn't it would be easy to make): Load the route mappings
from a file so you (as a human) can have a single index into code.

A few years ago I was completely in love with selector[1] because
all it did was delegate an incoming WSGI request to one of several
WSGI callables based on request method and parameterized paths.

[1] https://github.com/lukearno/selector/

-- 
Chris Dent tw:@anticdent freenode:cdent
https://tank.peermore.com/tanks/cdent



More information about the OpenStack-dev mailing list