Yii Models Models are part of MVC structure. They represent the rules and logic for an application. Means they hold data and…
gii database
-
-
What is Yii Framework The Yii is an open-source, light-weighted PHP based framework used to develop a whole web application much faster.…
-
Modules A module resides in the main application and organized as a directory that is called base path of the module. This…
-
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…