Wiki articles in category Tutorials tagged with "config"

Showing 1-4 of 4 items.

YII2: Create console commands inside a module or extension

Created 10 years ago by MetaCrawler MetaCrawler, updated 7 years ago by Luis Armando Luis Armando.

Here is a small guide how to get console commands running inside modules & extensions. For this guide I used a fresh yii2 basic application template.

8 0
6 followers
Viewed: 72 176 times
Version: 2.0
Category: Tutorials

How to store array/widget configuration to the database with config validation rules

Created 11 years ago by Kartik V Kartik V, updated 11 years ago by Kartik V Kartik V.

Note the tag {{homeUrl}} will be dynamically replaced at runtime.

2 3
41 followers
Viewed: 28 476 times
Version: 2.0
Category: Tutorials

Setting application parameters dynamically in the back-end

Created 14 years ago by Pablovp Pablovp, updated 14 years ago by Pablovp Pablovp.

I was wondering how to set-up the application parameters in the back-end to use them all around the application without the need of using the database and I came up with this solution, I hope it helps somebody else.

12 0
16 followers
Viewed: 65 662 times
Version: 1.1
Category: Tutorials

Manage application configuration in different modes

Created 16 years ago by qiang qiang, updated 14 years ago by 张 迪 张 迪.

Application configuration determines how an Yii application should behave, because it is the only parameter passed in the entry script. An application, on the other hand, needs to behave differently under different circumstances. For example, an application may need different configurations when running in production mode, development mode and testing mode; In a team development environment, each...

15 0
15 followers
Viewed: 73 744 times
Version: 1.1
Category: Tutorials