News for hackers. Stuff that matters.
Re:Ask HN: Go-to web stack today? by virtualwhys on Saturday January 05, 2019 @06:14AM (#18831097)
Play framework (with Slick or Quill for data access) can get you most of the way there, but you won't have Django's out-of-the-box admin interface, have to roll your own.

If you add in Akka or Akka Typed then you can pass state changes for connected websocket clients (i.e. for a SPA/Redux based frontend), which is quite awesome.

Scala and Scala.js are a powerful combination if you want to do everything in the same language. Performance is of course excellent compared to most of the dynamic language backed frameworks, and static typing is a huge win...for some of us at any rate :)

Will have to get your hands dirty to replicate Django, however.

Re:Ask HN: Go-to web stack today? by vips7L on Saturday January 05, 2019 @08:18AM (#18831483)
I'm a JVM fan, but I've never been able to find good tutorials on documentation on play. It seems like everytime I find a resource its for some old version that isn't compatible.

Do you have any recommendations?

Re:Ask HN: Go-to web stack today? by virtualwhys on Saturday January 05, 2019 @09:29AM (#18831771)
Well, start with the play docs [1]; from there, yeah, you have to hunt around. Play's more of a framework for building frameworks than an out-of-the-box batteries included web framework like Rails, Django, etc. It provides the building blocks to create anything, the rest is up to you.

When I was learning Play I found digging through the sources to be immensely useful, not only for learning the framework itself, but for learning Scala as well.

[1] https://www.playframework.com/documentation/2.6.x/ScalaHome