Applications

Applications

Applications are objects that govern the overall structure and lifecycle of Yii application systems. Each Yii application system contains a single application object which is created in the entry script and is globally accessible through the expression \Yii::$app.

Info: Depending on the context, when we say "an application", it can mean either an application object or an application system.

There are two types of applications: Web application