3 ms·
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
by virtualwhys 8y ago
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.
- vips7L 8y agoI'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?
- virtualwhys 8y agoWell, 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 https://www.playframework.com/documentation/2.6.x/ScalaHome