Request cycle
The request cycle is a cycle that runs in a web application .
The trigger for this cycle can be, for example, that the user clicks a hyperlink in his browser . Then an HTTP request is generated by his browser and sent to the web application server . In the HTTP request, a URL optionally transmits additional data that the web application can use to decide which code is to be executed. The application-specific code of the web application is then executed and an HTML page, for example, is generated as the result . This is then displayed in the user's browser and the cycle can begin again.
The request cycle :
- The client sends an HTTP request to the web application
- Web application processes the request and generates new data in response
- The web application sends the data with an HTTP response
- Presentation of the data in the client (usually a browser )