Examples of using Entry script in English and their translations into Portuguese
{-}
-
Colloquial
-
Official
-
Medicine
-
Financial
-
Ecclesiastic
-
Ecclesiastic
-
Computer
-
Official/political
Entry scripts are the first step in the application bootstrapping process.
Entry scripts: they are PHP scripts that are directly accessible by end users.
Entry scripts are the best place for defining global constants.
Entry scripts for Web applications must be stored under Web accessible directories
Entry scripts for console applications are usually stored under the base path of applications
If you check the entry script web/index.
has a single entry script.
Similarly, the following is the code for the entry script of a console application.
For example, the following code is extracted from the entry script of the Basic Project Template.
In most cases, the entry script of a Yii application contains code that is as simple as this.
BaseUrl: returns/admin, which is the part after the host info and before the entry script name.
Next, you should modify the entry script of the 3rd-party system by including the following code at the beginning.
you may install it in the entry script of your application.
This is because it is used as follows in an entry script, where the class name is already given.
You may disable it by defining the constant YII_ENABLE_ERROR_HANDLER to be false in the entry script of your application.
Yii provides a constant named YII_ENV that you may define in the entry script of your application.
Entry Script: Choose a script name from the Entry Script drop-down menu to run a script in your presentation when an end user enters the page.
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.
consider caching the whole configuration array and loading it directly from cache before creating the application instance in the entry script.
End users make requests to entry scripts which instantiate application instances