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 to open yii with zend
- How to open yii with zend: first find the project directory; then right-click the menu in a blank space of the project directory and select "import"; finally find the folder directory and open it, or create a new empty project and copy the file to the root directory.
- YII 1771 2020-07-22 11:42:17
-
- What should I do if yii2 fails to save update data?
- The solution to the failure of yii2 save to update data: first find and open the original script file that caused the error; then add validation rules for the new field in Rules in the model class, or set the field to "safe".
- YII 3494 2020-07-22 11:36:53
-
- What should I do if yii2 cannot log out?
- The solution to the problem that yii2 cannot log out: first find and open the "session.php" file; then comment out the content of "@session_regenerate_id($deleteOldSession);" in the text.
- YII 2217 2020-07-22 11:09:11
-
- Where is the yii error prompt location?
- The yii error prompt location is under the "@app/views/site/error.php" path, and the default error or error prompt action is handled by the error action under the site controller.
- YII 2409 2020-07-22 11:04:31
-
- What is the difference between Yii and Laravel?
- The difference between Yii and Laravel: 1. Yii does not over-design the code for design patterns, while Laravel is a bit over-designed; 2. Laravel syntax is more expressive, and each line of code can be concise and expressive; 2 , Laravel community is relatively active and has abundant resources.
- YII 3425 2020-07-21 18:03:00
-
- What is the difference between Yii1.0 and Yii2.0?
- The difference between Yii1.0 and Yii2.0: 1. Yii2.0 is completely managed using Composer; 2. Yii2.0 requires PHP5.4 or higher, while Yii1.0 requires the PHP version to be PHP5.2; 3. Yii2 .0 uses namespaces and removes the "C" prefix of Yii1.0.
- YII 2591 2020-07-21 17:42:43
-
- Why is Yii2 so performant?
- Yii2 has high performance because it extensively uses "lazy loading" technology, which means that it only loads the functions that users only need. It also has strong caching support, and the clear design of the framework can work efficiently with AJAX, so Yii2 has very high performance. high.
- YII 2965 2020-07-21 16:50:10
-
- How to build yii2 framework?
- How to build the yii2 framework: first download the installation package and download the framework locally; then unzip it to the root directory of the website and access the web directory; then open the local server and enter the web directory under the yii2 folder in the browser; Finally, set the [web.php] value and save it.
- YII 4706 2020-07-21 16:49:42
-
- How to upload files in yii?
- How to upload files in yii: first create an [UploadImageForm.php] file in the models folder; then find the SiteController controller and create a view file; finally output html and allow users to select and upload files.
- YII 3078 2020-07-21 16:14:01
-
- How to print sql statement in yii2?
- How to print sql statements in yii2: You can execute the statement in the controller, the code is [$model->find()->createCommand()->getRawSql();], click the log at the bottom of the web page to see the sql statement .
- YII 5140 2020-07-21 15:35:13
-
- Where to download Yii?
- Yii can be downloaded and installed through Composer. The installation method: first open the CMD command line; then enter the command "composer create-project yiisoft/yii2-app-basic basic"; finally press Enter and wait for the installation to be successful.
- YII 2501 2020-07-21 13:27:15
-
- How to add prefix to table in yii2
- How to prefix a table in yii2: first find and open the database configuration related files; then set the table prefix through the statement "'tablePrefix'=>'colin_'", which means that the table prefix has been set to "colin_".
- YII 2920 2020-07-21 12:01:33
-
- Solve the problem of being unable to receive emails sent by yii2
- The solution to the failure to receive emails sent by yii2: first find and open the configuration file code; then change the code "'useFileTransport' => true" to "'useFileTransport' => false,"; finally save the changes.
- YII 3286 2020-07-21 11:54:06
-
- What is Yii in yii2
- Yii in yii2 is a framework core class, and the lowercase yii in yii2 is the namespace path; Yii has two main versions, namely 2.0 and 1.1, and the latest stable version of yii is the yii2 version.
- YII 3572 2020-07-21 11:49:22
-
- What are the differences between yii2.0 and laravel?
- The differences between yii2.0 and laravel are: 1. Under the trend of complete separation of front and back ends, the coupling of yii2's front and back ends is heavier than that of laravel; 2. yii will not over-design the code for a certain design pattern, while laravel is a bit Over-designed; 3. The laravel community is relatively active and rich in resources.
- YII 2766 2020-07-21 11:34:18