Found a total of 423 related content
what does yii stand for
Article Introduction:yii stands for "Yii Framework", which means the yii framework, which is a high-performance PHP framework based on components for developing large-scale web applications. Yii is written in strict OOP and has complete library references and comprehensive tutorials. Yii provides It provides the functions required for today's Web2.0 application development.
2020-07-20
comment 0
3338
The difference between yii and thinkphp
Article Introduction:The difference between yii and thinkphp: 1. Yii has multiple configuration files, while thinkphp has only one; 2. thinkphp has multiple ways to obtain parameters, while yii has only one; 3. The verification layer of yii is the rule of the model, while thinkphp has Introduce classes for the validation layer.
2020-02-26
comment 0
2396
Where is the directory of yii in the php yii framework?
Article Introduction:The directory of yii in the php yii framework is located under the "vendor/yiisotf/yii2" folder, where the file "behaviors" represents behavior, "caching" represents caching, "captcha" represents verification code, "console" represents console, etc.
2020-01-15
comment 0
2247
What is Yii in yii2
Article Introduction: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.
2020-07-21
comment 0
3100
Is Yii following the MVC pattern?
Article Introduction:Yii is an MVC model. You can see from the directory structure and code of Yii that Yii adopts the MVC model. Yii is a high-performance component-based PHP framework for developing large-scale Web applications. It is written in strict OOP and has Complete library references and comprehensive tutorials.
2020-06-08
comment 0
2384
How to deploy yii
Article Introduction:How to deploy a yii project: First, unzip the downloaded "yii" package into the built environment; then copy the core file "framework" to the project you want to build; then configure the environment variables to complete the "yii" project deploy.
2020-01-09
comment 0
1756
Introduction to Yii Framework: Understand the core concepts of Yii
Article Introduction:The Yii framework is a high-performance, highly scalable, and highly maintainable PHP development framework that is highly efficient and reliable when developing Web applications. The main advantage of the Yii framework is its unique features and development methods, while also integrating many practical tools and functions. The core concept of the Yii framework, the MVC pattern, Yii adopts the MVC (Model-View-Controller) pattern, which is a pattern that divides the application into three independent parts, namely the business logic processing model and the user interface presentation model.
2023-06-21
comment 0
1391
How to generate hyperlinks in yii
Article Introduction:The method for yii to generate hyperlinks is to use yii's built-in URL generation tool urlManager, such as [\Yii::$app->urlManager->createAbsoluteUrl($params, $schema = null)].
2020-02-17
comment 0
1511
How to use Yii functions in PHP
Article Introduction:Yii is a popular PHP framework that provides us with many convenient functions and methods to speed up development. In this article, we will introduce how to use Yii functions in PHP. 1. Load the Yii framework First, we need to load the Yii framework. You can use the following code: //Introduce Yii's autoloader require_once'path/to/yii-folder/yii.php';//Create the application Yii::createWebAppli
2023-05-18
comment 0
1005
How to pronounce yii?
Article Introduction:Yii (pronounced Yee or [ji:], which should be the pronunciation of "yi"), represents easy, efficient and extensible. Yii is a component-based, high-performance PHP framework for developing large-scale web applications.
2019-12-23
comment 0
6441
How to connect to the database in yii
Article Introduction:How to connect yii to the database: first establish a connection with the database server; then find the "component" component; then use "yii\db\Connection" to connect to the database, the code is "'db'=>['class'=>'yii\ db\Connection']".
2020-01-09
comment 0
2144
What is yii?
Article Introduction:Yii is a component-based high-performance PHP framework, a high-performance PHP5 web application development framework. Yii is written in strict OOP and has complete library references and comprehensive tutorials.
2019-12-23
comment 0
2721
Is yii open source?
Article Introduction:yii is open source. Yii is an open source, object-oriented, component-based MVC PHP web application framework. Yii is released under the New BSD License (3-Clause License); this means it can be used free of charge to develop open source or proprietary web applications.
2020-08-17
comment 0
2514
Internationalization support in Yii framework
Article Introduction:Yii is an open source web application framework that adopts an efficient MVC architecture design, making code separation clear and easy to maintain. As a web application framework, international support is essential. The Yii framework provides a variety of ways to implement internationalization, which this article will introduce. Use the Yii::t function that comes with Yii. The Yii::t function is the translation function that comes with the Yii framework. Its usage is as follows: Yii::t('app','Welcometomysite
2023-06-21
comment 0
1119
How to deploy the yii framework
Article Introduction:Methods for deploying the yii framework: 1. Set up a PHP environment and download the yii framework; 2. Check whether the current environment meets the requirements of the yii framework; 3. Create a project and use yiic to deploy; 4. Visit the project address to check whether the deployment is successful.
2020-02-19
comment 0
2692
How to reference external files in Yii
Article Introduction:Methods to reference external files in Yii: 1. Introduce the external file path in Yii's ../config/main.php. 2. Use the "Yii::app()->basePath" method in the Yii code to reference external files.
2019-12-17
comment 0
2154
How to download and install the yii framework
Article Introduction:The method to download and install the yii framework is: 1. First, enter the yii official website to download; 2. Then access the requirements.php in the root directory in the browser to check whether the environment is suitable for using yii; 3. Finally, access it in the browser and install yii Just frame it.
2020-02-18
comment 0
2394
yii error reporting level
Article Introduction:How to set the yii error level: first open the yii project entry file; then add the code as "error_reporting(E_ALL^E_NOTICE)"; then open the php configuration file and set the code as "error_reporting=E_ALL&~E_NOTIC".
2020-01-09
comment 0
2272
How to jump to the page in yii
Article Introduction:The method for Yii to jump to the page is: [Yii::app()->user->setFlash('commentSubmitted ','Display information after the jump');$this->redirect('list.m');]
2020-02-19
comment 0
2289
How to connect to the database in yii
Article Introduction:Yii uses PDO (PHP Date Object) to connect to various databases. Yii uses yii\db\Connection to handle database connections. Find the components in the configuration file and configure the database information to connect.
2019-12-31
comment 0
3011