You need to know scala to play with java play framework

I came across the Java Play Framework and decided to take a picture, but after you got into the tutorial, I started to see some Scala elements (index.scala.html) that got some w60-related things that I don’t understand. I plan to build a basic chat chat application with Play for a limited period of time, given that I need to also learn Scala?

+4
source share
3 answers

You can write your application in Java without knowing a lot of Scala (with the exception of submissions). However, when something goes wrong, you will want to read Scala to debug the framework itself.

+5
source

You don’t need it at all, Scala is used in representations, however the level of required knowledge is similar to how you studied any other mechanism of templates ... That's all

+5
source

It depends on how much encoding your views will take. If you have complex views, it's a good idea to familiarize yourself with the concepts of scala ... If your application does not have too many views (for example, the REST API), you do not need to touch scala at all.

+1
source

Source: https://habr.com/ru/post/1492275/


All Articles