Chapter 3. Turning a Web Service into a Web Application
In this chapter, you will learn how to enhance your web service to make it a web application by serving HTML pages that contain client-side logic. You will learn how to use the HTML template engine and how to write browser tests.
More precisely, you will learn how to perform the following:
- Use the template engine to build HTML and JavaScript documents
- Generate URLs according to your route's definitions
- Handle content negotiation
- Read and validate data in the HTML forms
- Generate HTML forms using Play forms helpers
- Write web browser tests