O'Reilly logo

Play Framework Cookbook - Second Edition by Giancarlo Inductivo, Alexander Reelsen

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 1. Basics of Play Framework

In this chapter, we will cover the following recipes:

  • Installing Play Framework
  • Creating a Play application using Typesafe Activator
  • Using the Play console
  • Working with modules
  • Working with controllers and routes
  • Using Action parameters in controllers
  • Using reverse routing and redirects
  • Working with View templates
  • Using helper tags
  • Using View layouts and Includes
  • Working with XML and text files
  • Using Ebean (Java) with MySQL
  • Using Anorm (Scala) and database evolutions with MYSQL
  • Using a form template and web actions
  • Using a form validation
  • Securing form submission
  • Testing with JUnit (Java) and specs2 (Scala)
  • Testing models
  • Testing controllers

Introduction

Play is a developer-friendly and modern web application framework for both ...

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