Read Record Now we’ll fetch the data from our table child. Here our Yiii2 folder is named as read. Step 1 Create…
YII Framework Tutorial
-
-
Controllers Action Actions are defined in the controllers file. They need to be called while executing a request in an application through…
-
Sessions Sessions allow us to get access to data across various pages for each user request. A file is created in a…
-
Controllers In MVC structure, controllers role is to process the requests from the user and generate the responses. The incoming requests are…
-
Yii Structure Yii2 has a new and improved application structure. It uses composer to manage its dependencies. Yii1 has only a basic…
-
Creating Database Earlier we performed CRUD operation with yii’s Gii generating tool. Now we’ll perform CRUD without Gii. We’ll perform a complete…
-
Update Record To update the records in the database, following these steps. We have named our Yii2 folder as update. Step 1…
-
Creating Form We’ll create a form to get the data from users. In our form, we’ll create four input fields for name,…
-
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…