Skip to content

Frontend mode

The System Mode Frontend is the default mode. It is used to process regular HTTP(S)-requests made to the website (from web browsers).

Invocation

The Frontend mode is automatically invocated on all HTTP(S)-requests made to Cloudrexx, except for those requests made to the endpoints /cadmin (Backend) and /api (Command).

Output

The generated output must be a HTML-valid webpage.

Note

If you need to output data in another format (i.e.: JSON or a byte-stream) do instead implement an Exposed Method and call it through the api endpoint.

Rendering

Based on the requested Locale and Channel1, the matching \Cx\Core\View\Model\Entity\Frontend entity is loaded which defines the \Cx\Core\View\Model\Entity\Theme that will be used for output rendering.


  1. List of supported channels: web (default), mobiledeprecated, print, pdf & app