5 ms·
Type-safe routing in Spock
- pdpi 11y agoI 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 https://github.com/scotty-web/scotty]
- agrafix 11y agoFrom 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." :-)
- embwbam 11y agoIt 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?
- luos 11y agoWhen 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.