Yii framework has three different possibilities for configuring the session. In the Yii Session series, we are already familiar with the session configuration by using the regular server side session and the database based session handling. This is the last article of the series and it talks about the session handling by using cache as Continue reading…
Posts Categorized: Yii
Yii Framework – Scenarios for Conditional Multiple Validation Rules
I am yet to write the last article of the Yii Session series. I just decided to write something about the scenarios in the Validation feature of Yii framework. Scenarios are a very useful tool for adding different validations rules for different cases on the same model.
In a real life situation, you would require one Continue reading…
Configuring Session in Yii Framework – CDbHttpSession
The first post of the series explained the storing of the session data in the files using the CHttpSession component. This is the default method for managing sessions. However, saving the session in database is considered to give be a better option for handling sessions.
In a Yii application, you can store the user session in Continue reading…
Configuring Session in Yii Framework – CHttpSession
Sessions are used to store the user information on the server. The information is used primarily for identifying the user on subsequent accesses. Thus, we can say that the sessions maintain the state in a web application. Sessions create a Unique ID for each visitor and store the information based on this UID. The session Continue reading…
Yii Framework – Application Skeleton Continued
In the concluding section of the first post of Yii Application skeleton, we used the webapp command to generate the application skeleton. The application skeleton is the way the framework expects the developers to organize their code into different files ad directories. The framework would expect view files to be saved in a certain directory Continue reading…
Yii Framework – Application Skeleton
About a year back, we read about some of the emerging lightweight PHP frameworks. Yii was one of the frameworks in that list. Since, then Yii framework has grown from strength to strength. Yii is the brainchild of Qiang Xue, the noted developer behind another popular Prado framework. Yii, pronounced as i:, stands for easy, Continue reading…
Follow Us