The Best MVC Practices and tutorials

By Prem Tiwari in Yii framework. Updated on


Although Model-View-Controller (MVC) is known by nearly every Web developer, how to properly use MVC in real application development still eludes many people. The central idea behind MVC is code reusability and separation of concerns. …

Core application components available on Yii framework

By Prem Tiwari in Yii framework. Updated on


Yii predefines a set of core application components to provide features common among Web applications. For example, the request component is used to collect information about a user request and provide information such as the …

Learning Yii Relational Active Record

By Prem Tiwari in Yii framework. Updated on


One thing I impress of YII is there Active Record feature. Instead of declaring the sql command to query the data of two or more tables. In YII we can just create relation function in …

Upgrading your Yii framework Version from 1.0 to 1.1

By Prem Tiwari in Yii framework. Updated on


Changes Related with Model Scenarios Removed CModel::safeAttributes(). Safe attributes are now defined to be those that are being validated by some rules as defined in CModel::rules() for the particular scenario. Changed CModel::validate(), CModel::beforeValidate() and CModel::afterValidate(). …

Basic features and installation of Yii Framework

By Prem Tiwari in Yii framework. Updated on


In this post i will explain the Basic features and installation of Yii Framework. A web application framework (WAF) is a software framework that is designed to support the development of dynamic websites, web applications, …

Yii framework Pagination Using CListView and CLinkPager

By Prem Tiwari in Yii framework. Updated on


In this post i explained to implement the Yii framework Pagination Using CListView and CLinkPager. From my limited test, what I found is that by defining a custom pager ourselves, Yii will use the limit …