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
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
book
Introducing Play Framework: Java Web Application Development
Enter the world of rapid web application development. This gentle introduction to Play covers all you …
book
Mastering Play Framework for Scala
Leverage the awesome features of Play Framework to build scalable, resilient, and responsive applications In Detail …
book
Play for Scala
Play for Scala shows you how to build Scala-based web applications using the Play 2 framework. …
book
Instant Play Framework Starter
Build your web applications from the ground up with the Play framework for Java and Scala …