current location:Home > Technical Articles > PHP Framework > YII

  • How to open Gii in yii framework
    How to open Gii in yii framework
    Gii is a module in Yii. It can be enabled by configuring the modules property of the application. Usually in the config/web.php file, if the current development environment is, the application will include the gii module, and the module class is yii\gii\Module.
    YII 2976 2019-11-27 16:13:54
  • How to connect the yii framework to the database
    How to connect the yii framework to the database
    If the yii framework wants to connect to the database, please make sure you have installed the PHP PDO extension and the PDO driver of the database you are using. This is a basic requirement. Open config/db.php and modify the configuration parameters inside to correspond to your database configuration.
    YII 3267 2019-11-27 13:57:43
  • The difference between andWhere and andFilterWhere in yii2
    The difference between andWhere and andFilterWhere in yii2
    andWhere, regardless of whether the query condition parameter is empty or not, the condition will be added. andFilterWhere, when the condition parameter is empty, the condition will be automatically filtered.
    YII 4008 2019-11-26 17:17:24
  • How to query multiple or in andWhere in YII2
    How to query multiple or in andWhere in YII2
    This article describes how to perform multiple or queries in andWhere in the yii2 framework. I hope it will be helpful to you! Using andWhere to perform multiple or queries in yii2 requires passing in an array.
    YII 4283 2019-11-26 17:12:57
  • How to use forms in yii framework
    How to use forms in yii framework
    To use forms in the Yii framework, you need to create a model to represent the data entered by the user through the form, declare rules to validate the entered data, and generate an HTML form in the view.
    YII 2336 2019-11-26 17:09:25
  • How to use indexBy() in Yii2
    How to use indexBy() in Yii2
    In project development, some special values ​​are often used as the index of the array. Generally, the data can be queried first and then the array can be spliced ​​into the required format in a loop. However, the YII2 framework provides a simpler method indexBy(). When you call the all() method, it returns an array indexed by consecutive integer values.
    YII 2704 2019-11-26 16:55:41
  • How to create hello page using yii framework
    How to create hello page using yii framework
    You need to master three things to create a hello page using the Yii framework: how to create an action to respond to a request, how to create a view to construct response content, and how an application dispatches requests to actions.
    YII 2939 2019-11-26 14:44:31
  • Detailed introduction to how to install php framework Yii in win7
    Detailed introduction to how to install php framework Yii in win7
    This article describes how to install the php framework Yii in win7. Share it with everyone for your reference. First download Yii, then use yiic to generate the web directory, and finally configure the path.
    YII 2070 2019-11-25 16:04:50
  • Yii is a fast, secure and professional PHP framework
    Yii is a fast, secure and professional PHP framework
    Yii is a high-performance PHP framework suitable for developing WEB2.0 applications. Yii comes with a rich set of features, including MVC, DAO/ActiveRecord, I18N/L10N, caching, authentication and role-based access control, scaffolding, testing, etc., which can significantly shorten development time.
    YII 2148 2019-11-25 15:20:02
  • How to run applications in Yii
    How to run applications in Yii
    During the use of Yii, you can know that after installing Yii, you will have a runnable Yii application. Depending on the configuration, you can use the URL indicated in the tutorial: http://hostname/basic/web/index.php or http:// Hostname/index.php access.
    YII 3858 2019-11-23 14:40:12
  • What is the difference between yii and thinkphp?
    What is the difference between yii and thinkphp?
    Yii and thinkphp are both PHP frameworks, but they are different in configuration. The Yii framework is more flexible with multiple configuration files, overlay configurations, multiple environment configurations, and local and online environment configurations; the thinkphp framework only needs one configuration.
    YII 2761 2019-11-21 14:47:41
  • yii custom error page
    yii custom error page
    How to customize the error page in yii: first modify the main.php main configuration file and add an errorAction controller to handle errors; then write the error template file in the error.php file; finally modify the controller and render the error page in the actionError method. Can.
    YII 2008 2019-11-16 14:55:35
  • What is the difference between yii and tp?
    What is the difference between yii and tp?
    Yii and tp (ThinkPHP) are both PHP frameworks, but they are different in configuration. The Yii framework is more flexible with multiple configuration files, overlay configurations, multiple environment configurations, and local online environment configurations; the thinkphp framework only needs one configuration.
    YII 4232 2019-11-16 11:48:55
  • What is the event of yii
    What is the event of yii
    As you can see in the Yii framework tutorial, events are specific execution points where custom code can be "injected" into existing code. Yii introduces a base class named yii\base\Component to support events.
    YII 2718 2019-11-14 16:42:35
  • what is yii framework
    what is yii framework
    The yii framework tutorial explains this: Yii is a high-performance PHP framework suitable for developing WEB 2.0 applications. Comes with rich functions, including MVC, DAO/ActiveRecord, I18N/L10N, caching, authentication and role-based access control, scaffolding, testing, etc., significantly shortening development time
    YII 5779 2019-11-14 16:00:44

Tool Recommendations

jQuery enterprise message form contact code

jQuery enterprise message form contact code is a simple and practical enterprise message form and contact us introduction page code.
form button
2024-02-29

HTML5 MP3 music box playback effects

HTML5 MP3 music box playback special effect is an mp3 music player based on HTML5 css3 to create cute music box emoticons and click the switch button.

HTML5 cool particle animation navigation menu special effects

HTML5 cool particle animation navigation menu special effect is a special effect that changes color when the navigation menu is hovered by the mouse.
Menu navigation
2024-02-29

jQuery visual form drag and drop editing code

jQuery visual form drag and drop editing code is a visual form based on jQuery and bootstrap framework.
form button
2024-02-29

Organic fruit and vegetable supplier web template Bootstrap5

An organic fruit and vegetable supplier web template-Bootstrap5
Bootstrap template
2023-02-03

Bootstrap3 multifunctional data information background management responsive web page template-Novus

Bootstrap3 multifunctional data information background management responsive web page template-Novus
backend template
2023-02-02

Real estate resource service platform web page template Bootstrap5

Real estate resource service platform web page template Bootstrap5
Bootstrap template
2023-02-02

Simple resume information web template Bootstrap4

Simple resume information web template Bootstrap4
Bootstrap template
2023-02-02

Cute summer elements vector material (EPS PNG)

This is a cute summer element vector material, including the sun, sun hat, coconut tree, bikini, airplane, watermelon, ice cream, ice cream, cold drink, swimming ring, flip-flops, pineapple, conch, shell, starfish, crab, Lemons, sunscreen, sunglasses, etc., the materials are provided in EPS and PNG formats, including JPG previews.
PNG material
2024-05-09

Four red 2023 graduation badges vector material (AI EPS PNG)

This is a red 2023 graduation badge vector material, four in total, available in AI, EPS and PNG formats, including JPG preview.
PNG material
2024-02-29

Singing bird and cart filled with flowers design spring banner vector material (AI EPS)

This is a spring banner vector material designed with singing birds and a cart full of flowers. It is available in AI and EPS formats, including JPG preview.
banner picture
2024-02-29

Golden graduation cap vector material (EPS PNG)

This is a golden graduation cap vector material, available in EPS and PNG formats, including JPG preview.
PNG material
2024-02-27

Home Decor Cleaning and Repair Service Company Website Template

Home Decoration Cleaning and Maintenance Service Company Website Template is a website template download suitable for promotional websites that provide home decoration, cleaning, maintenance and other service organizations. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-05-09

Fresh color personal resume guide page template

Fresh color matching personal job application resume guide page template is a personal job search resume work display guide page web template download suitable for fresh color matching style. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-29

Designer Creative Job Resume Web Template

Designer Creative Job Resume Web Template is a downloadable web template for personal job resume display suitable for various designer positions. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28

Modern engineering construction company website template

The modern engineering and construction company website template is a downloadable website template suitable for promotion of the engineering and construction service industry. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28