Posts Categorized: Yii

Configuring Session in Yii Framework –CCacheHttpSession

Posted by & filed under Yii.

configuring session in Yii framework

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…

Configuring Session in Yii Framework – CDbHttpSession

Posted by & filed under Yii.

configuring session in Yii framework

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

Posted by & filed under Yii.

configuring session in Yii framework

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

Posted by & filed under Yii.

yii framework application skeleton

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

Posted by & filed under Yii.

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…