Copyright
Brief Table of Contents
Table of Contents
Foreword
Preface
Acknowledgments
About this Book
About the Cover Illustration
1. Getting started
Chapter 1. Introduction to Play 2
1.1. What Play is
1.1.1. Key features
1.1.2. Java and Scala
1.1.3. Play isn’t Java EE
1.2. High-productivity web development
1.2.1. Working with HTTP
1.2.2. Simplicity, productivity, and usability
1.3. Why Scala needs Play
1.4. Type-safe web development—why Play needs Scala
1.5. Hello Play!
1.5.1. Getting Play and setting up the Play environment
1.5.2. Creating and running an empty application
1.5.3. Play application structure
1.5.4. Accessing the running application
1.5.5. Add a controller class
1.5.6. Add a compilation error
1.5.7. Use an HTTP request parameter
1.5.8. Add an HTML page template
1.6. The console
1.7. Summary
Chapter 2. Your first Play application
2.1. The product list page
2.1.1. Getting started
2.1.2. Stylesheets
2.1.3. Language localization configuration
2.1.4. Adding the model
2.1.5. Product list page