Chapter 2. Your first Play application

This chapter covers

  • Planning an example Play application
  • Getting started with coding a Play application
  • Creating the initial model, view templates, controllers, and routes
  • Generating bar code images
  • Validating form data

Now that you’ve seen how to download and install Play, and how to greet the world in traditional fashion, you’ll want to start writing some proper code, or at least read some. This chapter introduces a sample application that shows how a basic Play application fits together from a code perspective.

Although we’ll tell you what all of the code does, we’ll save most of the details and discussion until later chapters. We want you to have lots of questions as you read this chapter, but we’re ...

Get Play for Scala now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.