I’m trying to create a mvc framework for myself in scala. Routers are necessary. I have a route file, contains:
/ "App.index"
/users "Users.index"
/users/{id} "Users.show"
/articles/{year}/{month}/{day} "Article.list"
I need a library to parse the urls and find the best matching.
I know there is one uri-templates, but I hope I can find more.
You can look at Routineer – Scala DSL for declaring HTTP routes:
https://github.com/mvv/routineer