Cookies A cookie is a small file that server embeds in the user’s system which is used to identify a user. In…
YII Framework Tutorial
Yii2 Installation Step 1 Go to Yii official site, http://www.yiiframework.com/ Step 2 Click on Download Yii button. You’ll see options like, Install…
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…
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…