Book description
An intuitive guide to creating easy-to-build scalable web applications using the Play framework
In Detail
Play is a framework to write web applications using Scala or Java. It provides a productive development environment, allowing you to just hit the "refresh" button in your browser to compile your changes and reload the application. Because of its stateless nature, the framework makes it easy to build applications that scale. Play provides a reactive programming model to harness the event-driven HTTP layer.
This book provides a step-by-step walkthrough of how to build a complete web application following best application development practices using Play framework 2. All aspects specific to web-oriented architectures are covered: the HTTP layer, JSON manipulation, HTML templating, asset compression and concatenation, form submission, content negotiation, security, and HTTP streaming. The book will also provide detailed architectural insights into Play framework to give you a better understanding in order to successfully build scalable applications.
What You Will Learn
- Set up a unified development environment for both the client-side and server-side code
- Understand the challenges of building a scalable web application and master the solutions provided by Play framework
- Integrate the framework with existing client-side or server-side technologies such as persistence systems
- Harness the reactive programming model to process data streams
- Design robust, maintainable, and testable code
- Be proficient in manipulating JSON data blobs
- Deploy your application on a PaaS platform
Publisher resources
Table of contents
-
Play Framework Essentials
- Table of Contents
- Play Framework Essentials
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Preface
- 1. Building a Web Service
- 2. Persisting Data and Testing
- 3. Turning a Web Service into a Web Application
- 4. Integrating with Client-side Technologies
-
5. Reactively Handling Long-running Requests
- Play application's execution model
- Scaling up your server
- Embracing non-blocking APIs
- Managing execution contexts
- Writing incremental computations using iteratees
- Streaming results using enumerators
- Manipulating data streams by combining iteratees, enumerators, and enumeratees
- Controlling the data flow
- Summary
- 6. Leveraging the Play Stack – Security, Internationalization, Cache, and the HTTP Client
- 7. Scaling Your Codebase and Deploying Your Application
- Index
Product information
- Title: Play Framework Essentials
- Author(s):
- Release date: September 2014
- Publisher(s): Packt Publishing
- ISBN: 9781783982400
You might also like
video
Scala for the Impatient
4+ Hours of Video Instruction Overview In Scala for the Impatient LiveLessons best-selling author and professor …
video
Functional Programming in Scala Video Edition
"Leads to deep insights into the nature of computation." From the Foreword by Martin Odersky, Creator …
book
Python Crash Course, 2nd Edition
This is the second edition of the best selling Python book in the world. Python Crash …
book
Scala for the Impatient, Second Edition
Interest in the Scala programming language continues to grow for many reasons. Scala embraces the functional …