explore mapping cubicweb routes to pyramid routes
Currently with pyramid, the processing of a WSGI request follows this path:
go down the pile of pyramid tweens
be processed by the pyramid router (with routes added by view_config() for example)
- if no pyramid route matches, an exception is raised and this exception is catched by the cubicweb.pyramid.bwcompat.TweenHandler. That handler transfers the control to bwcompat.CubicWebPyramidHandler to process the request.
Would it be possible to map on the fly the creation of CubicWeb routes to the creation of pyramid routes in order not to need this tween+cubicwebpyramidhandler mechanism ?
original ticket : https://www.cubicweb.org/ticket/17268423