You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the controllers package, move as much code as possible to classes that do not depend on the Play API. For example, in controllers.Files, all three methods can call methods in a new class ui.Files that return the HTML to be displayed. The controllers.Files methods should only deal with the Play-specific logic (parsing HTTP requests, sending HTTP responses, cookies, etc.) ui.Files should have no Play dependencies. Repeat for Check, Upload, etc.
The views templates should be eliminated. Just generate the HTML in Java.
The text was updated successfully, but these errors were encountered:
In the controllers package, move as much code as possible to classes that do not depend on the Play API. For example, in controllers.Files, all three methods can call methods in a new class ui.Files that return the HTML to be displayed. The controllers.Files methods should only deal with the Play-specific logic (parsing HTTP requests, sending HTTP responses, cookies, etc.) ui.Files should have no Play dependencies. Repeat for Check, Upload, etc.
The views templates should be eliminated. Just generate the HTML in Java.
The text was updated successfully, but these errors were encountered: