Creating Form We’ll create a form to get the data from users. In our form, we’ll create four input fields for name,…
YII Framework Tutorial
-
-
Views View part in the MVC structure is responsible to present data in front of users. They mainly contain the HTML content…
-
Yii CRUD Yii provides a gii tool which is a code generator tool. It gives you the generated code for CRUD. We’ll…
-
Widgets Widgets are reusable building blocks on client-side (containing JavaScript, HTML and CSS). They are used to create complex and configurable user…
-
Delete Record To delete records in the database, following these steps. We have named our Yii2 folder as delete. Step 1 Create…
-
Yii Entry Scripts It is the first step in application handling process and responsible to start a request handling cycle. An application…
-
Yii Features PHP has a lot of frameworks. Yii is one of them. New version Yii2 has a lot of new features.…
-
YII First Example After installing Yii, you can develop an application that can be accessed via URL http://hostname/basic/web/index.php or http://hostname/index.php depending upon…
-
Flash Data Flash data is a kind of session data, which possesses the following features. Set in one request. Only available during…
-
Create (Insert) Record To insert the records in the database, following steps are there. We have named our Yii2 folder as create.…