February 2018
Intermediate to advanced
552 pages
13h 46m
English
Play Framework supports different View Templates using the Twirl Template engine. We can even create our own View Template types.
Some of the important Play View Template types are as follows:
Here we use main as the template name and scala to identify this as a Scala-based HTML template type.
Here we use main as the template name and txt to identify this as a Scala-based Text template type.
Here we use main as the template name and scala to identify this as a Scala-based XML template type.
For instance, we have a project with play-scala-app as the base directory. Let's assume PROJECT_HOME = play-scala-app.
For each template, ...