O'Reilly logo

Play Framework Essentials by Julien Richard-Foy

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 4. Integrating with Client-side Technologies

The previous chapter showed how to serve HTML pages, thus turning your application into a web application. Well, actually, modern web applications also make heavy use of client-side scripting and styling technologies. So, this chapter explains how to serve and process (linting, minification, and concatenation) static assets (images, scripts, and style sheets). It also shows how to manage client-side dependencies from the build system.

The following is the list of topics that will be covered in the chapter:

  • Serving static files from your application
  • Generating the application's URLs from the JavaScript code
  • Linting, minifying, and gzipping CSS and JavaScript assets
  • Running JavaScript tests from sbt ...

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