Cookies A cookie is a small file that server embeds in the user’s system which is used to identify a user. In…
upgradation
-
-
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…
-
Ad hoc Validation To validate values that are not bound to any model, we need to use ad hoc validation. Or if…
-
Read Record Now we’ll fetch the data from our table child. Here our Yiii2 folder is named as read. Step 1 Create…
-
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…