O'Reilly logo

Play for Scala: Covers Play 2 by Peter Hilton, Erik Bakker, and Francisco Canedo

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 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, ...

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