February 2018
Intermediate to advanced
552 pages
13h 46m
English
In this section, we will start learning Play Framework with our simple old-style HelloWorld Web Application example.
This HelloWorld example is using Play 2.6.11 without Play DI with Scala 2.12.4 and SBT 0.13.15. Perform the following steps to experiment this example:
Project Name: play-scala-helloworld-app
HelloWorldNoDIController.scala:
package controllers import play.api.mvc.{Action, Controller} class HelloWorldNoDIController extends Controller { def helloWorld = Action { Ok(views.html.helloWorld("Hello World Without DI.")) } }
Read now
Unlock full access