Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 948 Bytes

requests.md

File metadata and controls

15 lines (11 loc) · 948 Bytes

Requests

Every requests that comes into system gets processed in this order:

  1. Request is passed from your web server to public/index.php
  2. Framework get's initial mandatory configuration and initializes all mandatory stuff for the request cycle, such as paths, autoloader, error handler, shutdown stuff, log(s) and etc.
  3. Then \Koldy\Application::run() is called which takes the previously prepared configurations and initializes instance of the route class defined in mandatory configuration under routing_class - the route class then takes over the request and everything else is under routing class control.

This doesn't apply on CLI scripts.

What happens next depends about route and its options, even error handling. You can find all available routes here.