Play for Scala


Play for Scala shows you how to build Scala-based web applications using the Play 2 framework. This book starts by introducing Play through a comprehensive overview example. Then, you’ll look at each facet of a typical Play application both by exploring simple code snippets and by adding to a larger running example. Along the way, you’ll deepen your knowledge of Scala as a programming language and work with tools like Akka.

Play is a Scala web framework with built-in advantages: Scala’s strong type system helps deliver bug-free code, and the Akka framework helps achieve hassle-free concurrency and peak performance. Play builds on the web’s stateless nature for excellent scalability, and because it is event-based and nonblocking, you’ll find it to be great for near real-time applications.

Play for Scala teaches you to build Scala-based web applications using Play 2. It gets you going with a comprehensive overview example. It then explores each facet of a typical Play application by walking through sample code snippets and adding features to a running example. Along the way, you’ll deepen your knowledge of Scala and learn to work with tools like Akka.

Written for readers familiar with Scala and web-based application architectures. No knowledge of Play is assumed.

What’s Inside

  • Intro to Play 2
  • Play’s MVC structure
  • Mastering Scala templates and forms
  • Persisting data and using web services
  • Using Play’s advanced features

Table of Contents
Part 1: Getting started
Chapter 1. Introduction to Play 2
Chapter 2. Your first Play application

Part 2: Core functionality
Chapter 3. Deconstructing Play application architecture
Chapter 4. Defining the application’s HTTP interface
Chapter 5. Storing data—the persistence layer
Chapter 6. Building a user interface with view templates
Chapter 7. Validating and processing input with the forms API

Part 3: Advanced concepts
Chapter 8. Building a single-page JavaScript application with JSON
Chapter 9. Play and more
Chapter 10. Web services, iteratees, and WebSockets

Book Details

  • Paperback: 328 pages
  • Publisher: Manning Publications (October 2013)
  • Language: English
  • ISBN-10: 1617290793
  • ISBN-13: 978-1617290794
Download [11.6 MiB]

You may also like...

Leave a Reply