Re:Mux – A lightweight, fast HTTP request router for Go
by peclink on Tuesday December 06, 2016 @12:59AM
(#13112574)
There is Bullet http://bulletphp.com, that inspired us, but it is too simple and lacks some important (for us) features, e.g. recursion.
There are nested routes in Express and some Golang libraries (see gongular near on HN), but they are not resource oriented. And yes, there are resources in Rails, but it's sooo complex and heavy.
That isn't really true. There is nothing about HTTP, or even REST, that requires resources to be hierarchical. That said, it is quite common, and helpful for human beings, if they are hierarchical, so ...
> I wonder why frameworks built this way are so uncommon
Good question! The only one that springs to mind is Stapler:
http://stapler.kohsuke.org/what-is.html