Architecture of Play Framework

In this section, we will discuss the typical architecture of a Play Framework web application. Here, some components are mandatory for all applications, such as the routes file, Controller, View Templates, and so on; some are optional:

We can observe the following steps in any Play Framework Web Application:

  1. The users access a Play Web Application, using the application URL and a web browser.
  2. When the user sends a HTTP request to a Play Web Application, such as /route2 in our example, first that request reaches the Play Framework's Routing component (the default route filename is routes). However, we can use ...

Get Scala Reactive Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.