current location:Home > Technical Articles > PHP Framework > YII
- Direction:
- All web3.0 Backend Development Web Front-end Database Operation and Maintenance Development Tools PHP Framework Daily Programming WeChat Applet Common Problem Other Tech CMS Tutorial Java System Tutorial Computer Tutorials Hardware Tutorial Mobile Tutorial Software Tutorial Mobile Game Tutorial
- Classify:
-
- How does the Yii framework reference JS and CSS files?
- The method for the Yii framework to reference JS and CSS files: first put the CSS and JS files in the web directory; then open the "AppAsset.php" file and rewrite the "registerAssetFiles" method; then change the CSS and JS file paths in this method Register; finally call the parent method.
- YII 2683 2020-06-04 11:57:49
-
- How to turn off debugging in yii2
- The method to turn off debugging in yii2 is: 1. Open the main-local.php file in the config folder; 2. Close the debug runtime file; 3. Change the two entry files index.php and index-test.php under the web. becomes false.
- YII 3141 2020-06-03 17:55:46
-
- What does Yii framework mean?
- The Yii framework is a high-performance PHP framework suitable for developing WEB2.0 applications. The Yii framework comes with rich functions, including MVC, DAO/ActiveRecord, I18N/L10N, caching, authentication and role-based access control, and scaffolding. , testing, etc., which can significantly shorten development time.
- YII 3541 2020-05-21 15:32:39
-
- How yii implements data encryption and decryption
- This article comes from the yii column. This article introduces the method of yii to implement data encryption and decryption. It has certain reference value and I hope it can help everyone. Encryption method: [encryptByPassword() and encryptByKey()].
- YII 3023 2020-05-10 17:00:26
-
- How to output sql statement in Yii?
- Yii can use "echo $query->createCommand()->getRawSql();" to print sql statements. The "$query->createCommand()->getRawSql()" statement can obtain the currently executed sql statement.
- YII 2774 2020-05-11 18:31:12
-
- What is the difference between tp framework and yii2?
- Differences: 1. Yii has multiple configuration files, coverage configuration, multiple environment configurations, and local and online environment configurations, which is more flexible; there is only one type of TP. 2. On the ORM, TP uses strings or arrays, and Yii uses arrays.
- YII 4268 2020-05-11 18:31:00
-
- What is the difference between yaf and yii?
- Difference: Yaf framework is a PHP framework written in C language; while Yii framework is a high-performance PHP framework developed based on PHP5 and written in strict OOP.
- YII 2841 2020-05-01 18:24:02
-
- What is the difference between yii and zend framework?
- The difference between Yii framework and zend framework: zend has powerful functions, but you can’t use basically 80% of the functions; in terms of learning speed and efficiency, YII will be slightly better.
- YII 3122 2020-05-01 18:23:52
-
- What should I do if yii2 redis reports an error?
- Solution to yii2 redis error: first install the redis extension through composer; then open a cmd window and use the "cd" command to switch the directory to "D:\redis"; finally run the command "redis-server.exe redis.conf" that is Can.
- YII 2594 2020-04-08 10:54:56
-
- Why is yii2 installation so slow?
- The installation of yii2 is very slow because the js and front-end framework included in yii2 are relatively cumbersome. The solution is: first find the code ""config": {"process-timeout": 1800,}"; then change it to ""fxp-asset" : {"enabled"...}" is enough.
- YII 3170 2020-04-05 10:41:47
-
- What should I do if yii mailer cannot send it?
- The solution to the problem that yii mailer cannot send: first set the configuration file "main.php" with the code "'mailer' => ['class' => 'yii..']"; then add the code "useFileTransport" in the controller ' => false".
- YII 2087 2020-04-05 10:35:09
-
- How to use user component in yii2
- How to use the user component in yii2: first use composer to install the yii2-user component; then configure the component; finally, pass Yii::$app->user in the code to use the user component.
- YII 3574 2020-03-19 18:14:45
-
- What are Yii and Redis?
- Yii is a component-based high-performance PHP framework for developing large-scale Web applications. Yii is written in strict OOP and has complete library references and comprehensive tutorials; redis is a high-performance key-value database that is completely It is open source and free, and redis is a NOSQL database.
- YII 2619 2020-03-19 11:39:56
-
- How to specify the running path in yii
- How to specify the running path in yii: first open the configuration file/config/main-local.php; then add a line of code "'defaultRoute'=>'index',"; and finally reopen the page.
- YII 2864 2020-03-13 18:00:06
-
- How to use yii filter
- A Yii filter is a piece of code that can be configured to be executed before or after the controller action is executed. It must override the controller's public function filters() method in the controller to set which filter will act on which action.
- YII 2542 2020-03-11 16:54:37