Hacker News new | comments | show | ask | jobs | submit login
Type-safe routing in Spock (spock.li)
77 points by agrafix 968 days ago | hide | past | web | favorite | 4 comments



When I tried out the play framework that was one of the "woah" moment when I discovered the typesafe routing. It is really good, and it automatically generates the routes from controller methods.

It's like a whole new world of generating urls.


I can't find any direct references anywhere, but from the name I can't help but compare this framework with Scotty[https://github.com/scotty-web/scotty]


From the github Readme: "Since version 0.5.0.0 Spock is no longer built on top of scotty. The design and interface is still influenced by scotty, but the internal implementation differs from scotty's." :-)


It is pretty clearly inspired by Scotty, but I can't seem to find a motivation or comparison anywhere. Besides the new type safe routing, how does Spock improve on Scotty?




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: