O'Reilly logo

Play for Scala: Covers Play 2 by Peter Hilton, Erik Bakker, and Francisco Canedo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Building a user interface with view templates

This chapter covers

  • Introducing type-safe template engines
  • Creating templates
  • The template syntax
  • Structuring larger templates into reusable pieces
  • Internationalization support

Chances are, you’re building a web application that’s going to be used by humans. Even though the web is increasingly a place where applications talk to each other via APIs, and many web applications only exist as back ends for applications on mobile devices, it’s probably safe to say that the majority of web applications interact with humans via a web browser.

Browsers interpret HTML, and with it you can create the shiny interfaces that users expect, using your application to present the HTML front end ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required