Documentation

Play 2.1 documentation

Play is a high-productivity Java and Scala web application framework that integrates the components and APIs you need for modern web application development.

Play is based on a lightweight, stateless, web-friendly architecture and features predictable and minimal resource consumption (CPU, memory, threads) for highly-scalable applications thanks to its reactive model, based on Iteratee IO.

Getting started

  1. Installing Play
  2. Creating a new application
  3. Anatomy of a Play application
  4. Using the Play console
  5. Setting up your preferred IDE
  6. Sample applications
  7. Security policy

Working with Play

  1. Play for Scala developers
  2. Play for Java developers

Detailed topics

  1. The Build system
    1. About sbt settings
    2. Manage application dependencies
    3. Working with sub-projects
  2. Working with public assets
    1. Using CoffeeScript
    2. Using LESS CSS
    3. Using Google Closure Compiler
    4. Using RequireJS
  3. Working with the in-memory H2 database
  4. Managing database evolutions
  5. Configuration file syntax and features
    1. Configuring the JDBC connection pool
    2. Configuring Play's thread pools
    3. Configuring logging
  6. Deploying your application
    1. Creating a standalone package
    2. Additional configuration
    3. Set-up a front-end HTTP server
    4. Deploying to Heroku
    5. Deploying to CloudBees
    6. Deploying to Cloud Foundry

Additional documentation

  1. Scala
  2. Akka
  3. sbt
  4. Configuration
  5. Logback

Hacking Play

  1. Building Play from source
  2. CI server at Cloudbees
  3. Repositories
  4. Issue tracker
  5. Contributor guidelines

Modules and plugins

  1. Temporary modules directory