Vihaan Verma
Vihaan Verma

Reputation: 13143

do you need to know scala to play around with java play framework

I have come across Java Play Framework and have decided to give it a shot but after digging into the tutorial I have started to see some Scala elements ( index.scala.html ) which has got some Scala related stuff, which I dont understand. I m planning to make a basic chat app with Play in a limited time frame, given the case will I have to learn Scala as well ?

Upvotes: 4

Views: 482

Answers (3)

andraus
andraus

Reputation: 106

It depends on how much coding your views will need. If you have complex views, it's a good idea to get somewhat familiar with scala concepts... If your app doesn't have too many views (REST API, for instance) you don't need to touch scala at all.

Upvotes: 1

Alex Varju
Alex Varju

Reputation: 2922

You can write your application in Java without knowing much Scala (except for the views). When things go wrong, though, you will want to be able to read Scala to debug the framework itself.

Upvotes: 5

biesior
biesior

Reputation: 55798

You don't need almost at all, Scala is used in the views, however level of required knowledge is similar as you were learning any other templating engine... That's all

Upvotes: 5

Related Questions