This two days course introduces experienced web-developers to the design-patterns and methodology essential to building reactive, scalable web applications with Play Framework and Scala. In practical coding exercises you will learn how to build multiple Play applications which interact with one another via HTTP REST endpoints.
Objectives
After having participated in this course you should:
Know how to build fully fledged web applications using Play
Know best practices for developing web applications using Play
Be confident to start using Scala and Play applications in production
Prerequisites
Students taking this course should have:
Basic knowledge of Scala
No previous knowledge with Play is required
Bring your own hardware
Agenda
Overview
What is Play?
Why should I use it?
Play Basics
Anatomy of Play
Overview of Play components
Build system
Forms
HTTP body parser
Handling form data
Validation
Internationalization
Testing
Testing ecosystem
Writing integration tests
Managing assets
Manage static assets with sbt-web
Auto-generate CSS and JS files from Less, CoffeeScript, etc.
Asset fingerprinting
Session handling
Add and remove values from the session
Authentication helper
Web services and JSON
Send and retrieve HTTP requests
Handling JSON
Asynchronous Programming
Overview Futures
Future composition
Asynchronous end-to-end applications
The training is delivered in cooperation with Lightbend. | Please get in touch to schedule a private session.