The onApplicationInit event is executed before the application is loaded.
It is mainly used to initialize global variables, define execution conditions, or validate parameters before the rest of the application is processed.
This event is executed only once, when the application starts.