3 ms·
Can someone comment on what it's like building a webapp with Scala/Play?
by shocks 10y ago
Can someone comment on what it's like building a webapp with Scala/Play?
- virtualwhys 10y agoUnlikely you'll be cranking out a Rails style MVP in Scala + Play, but you will produce a robust, blazing fast, scalable application that's a dream to maintain and build upon. In short, Play is a really, really good MVC framework. For SPAs you can go lightweight with just Play's router and WS api, or try something like http4s for a more FP-based REST api. Throw Scala.js into the mix and you've a got a fully typed stack across the board. and then Scala Native on the horizon...things are looking good in Scala land ;-)
- draven 10y ago> you will produce a robust, blazing fast, scalable application that's a dream to maintain and build upon. At work I'm working on a scala/play app. It was 2 years old already when I joined, and the first scala/play project for the team. It's not that fast or scalable. That is to say, scala and/or play are not silver bullets that will make your code hyper optimized and scalable. ATM I'm working on performance. There are a few blocking calls in the API that are used everywhere and they manage to block the various execution contexts (controller, akka, etc.) It's a mistake to use blocking calls when it can be avoided, but it's an easy mistake to make. So yeah you can write robust / fast / scalable / maintainable apps in Scala but you need to properly learn it first.