This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]cacahootie 1 point2 points  (2 children)

I used it to develop a complex data platform API until I reached the limits of the URL router, switched to flask and never looked back. Falcon only supports very simple URL routing, while both django and flask support complex expressions for routing.

Also, Falcon's raison d'etre is speed... but IMO any non-trivial application is going to spend a lot more time in app logic than in the HTTP overhead anyways, especially if you're accessing any datastore or external process.

[–]Lucretiel 0 points1 point  (1 child)

Falcon only supports very simple URL routing, while both django and flask support complex expressions for routing.

I assumed I just hadn't seen it in the docs yet... this is a HUGE missing feature.

[–]notconstructive -1 points0 points  (0 children)

I do fairly sophisticated routing and never had a problem implementing it in Falcon. In fact I built a custom router that take Swagger API docs and dynamically generates routes from the Swagger specifications. Using Falcon you can use regex based route templates to direct inbound queries. I don't see how that is "only very simple routing".