Play Framework Essentials
- Length: 151 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2014-09-25
- ISBN-10: 1783982403
- ISBN-13: 9781783982400
- Sales Rank: #2310128 (See Top 100 Books)
An intuitive guide to creating easy-to-build scalable web applications using the Play framework
About This Book
- Master the complexity of designing a modern and scalable Web application by leveraging the Play framework stack
- The key concepts of the framework are illustrated with both Scala and Java code examples
- A step-by-step guide with code examples based on a sample application built from the ground up, providing the practical skills required to develop Scala- or Java-based applications.
Who This Book Is For
This book targets Java and Scala developers who already have some experience in web development and who want to master Play framework quickly and efficiently. This book assumes you have a good level of knowledge and understanding of efficient Java and Scala code.
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.
Table of Contents
Chapter 1. Building a Web Service
Chapter 2. Persisting Data and Testing
Chapter 3. Turning a Web Service into a Web Application
Chapter 4. Integrating with Client-side Technologies
Chapter 5. Reactively Handling Long-running Requests
Chapter 6. Leveraging the Play Stack – Security, Internationalization, Cache, and the HTTP Client
Chapter 7. Scaling Your Codebase and Deploying Your Application