February 2018
Intermediate to advanced
552 pages
13h 46m
English
Play Framework has a rich Form API to support Forms in a handy and easy way. It supports simple Forms very easily, and complex Forms are also possible.
We should understand the following two Play Form APIs to develop Play Form-based Web applications:
Form case classForms object
Both Play APIs are available in the same package, play.api.data.
In the Play Framework play.api.data, the Form case class is responsible for handling forms. It binds the user-submitted Form data (Request Data filled and submitted by the HTTP POST method) to the Model class (user-defined case class).
Play Framework's Form is a case class and object with some utility functions, which are useful to handle forms and form submissions.
Play Framework's ...
Read now
Unlock full access