Year: 2014
Julien Richard-Foy
Pages: 151
Size: 4.9 MB

Book Description: 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