Whole website or application is executed in few simple steps.
-
Create context
-
Create environment
-- Error reporting
-- Exception handling
-- Path definition
-- Load root config
- Create, init and run app
-- Parse app config
-- Set localization
-- Init database connections and routing
-- Register main provider
-- Init session, response, request and assets
-- Run request - this is only thing you need to take care of :)
-- Return response