play framework

By attending Play Framework workshop, Participants will learn to:

  • Describe the key architectural components of the Play framework
  • Install and configure Play
  • Create a “full-featured” Play-based application including database interactions and templating

The Play Framework training course builds on the Introduction to Scala course, with a focus on building web applications with the Play framework.

This course begins with a quick review of key Scala and web application development concepts leveraged by Play, including things like the Model-View-Controller design pattern, convention over configuration, etc. It then transitions into a discussion around the Play architecture, key components, and walks you through the creation of a simple app. Once the foundation is laid, this course takes a deeper dive and explores the more commonly used features like templating, persistence, and webservices.

  • Scala developers looking to build web applications with the Play framework.

COURSE AGENDA

  • Key advantages of Play over other frameworks
  • A quick look at the Play architecture
  • Installing Play and configuring your IDE
  • Launching a website in under 5 seconds
  • Working with the Play console
  • Folder Layout of Play
  • Creating Public Assets
  • What is Play
  • History of Play
  • Requirements to use Play
  • Understanding the Play community
  • Action & Controllers
  • Rendering and Redirecting
  • Routers
  • Scopes
  • Play Ingredients: Iteratees, Enumerators, Enumeratees
  • Templating Syntax
  • Standard SQL handling with Anorm
  • Standard SQL handling with Slick
  • No SQL handling
  • Evolving Databases
  • Creating forms
  • Tying form to the controllers
  • Validation
  • Creating and reusing custom fields
  • File Upload
  • Cache API
  • Global Application settings
  • Defining global settings for your application
  • Participating in application life cycles
  • Defining an application error page
  • Handling other errors Application Global Objects
  • Interception
  • Router Content Negotiation
  • JSON Handling in Java and Scala
  • JSON Combinators
  • JSON Transformers
  • Processing XML
  • Web Service Handling with WS API
  • Open Authorization Standards
  • Ajax and Visual Candy
  • Setting up Actors in an Akka environment
  • Testing Play
  • Testing Templates, Controllers, and Routers
  • Testing with Selenium