If anyone has time/feedback, I started prototyping a simple (working) plugin for pyramid's routing.
The basic idea is to register regular expressions – or the pairing of a 'key' with a regular expression – into the config object. You then write routes that invoke a macro syntax for the patterns and call `add_route_7` instead of `add_route`. behind the scenes, the pattern is regexed for macros, they are expanded, and everything is passed to pyramid's own `add_route` (including any kwargs) the canonical use-case is if you have a lot of repeating regex in your routes; this lets you declare them once in a single spot, then repeatedly invoke and centrally update. a working version is here: https://github.com/jvanasco/pyramid_route_7 -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discuss+unsubscr...@googlegroups.com. To post to this group, send email to pylons-discuss@googlegroups.com. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/d/optout.