How to enable Ajax form validation

By: Prem Tiwari | Last Updated: | In: Yii framework


Form validation ensures that each and every field in the form has been filled in the required way. No further prelude is required to this topic as Developers would be well aware about the purpose …

The Best MVC Practices and tutorials

By: Prem Tiwari | Last Updated: | In: Yii framework


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. …

Learning Yii Relational Active Record

By: Prem Tiwari | Last Updated: | In: Yii framework


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 | Last Updated: | In: Yii framework


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 | Last Updated: | In: Yii framework


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, …