Always make a backup of your view files outside of your production environment!
Please keep in mind that php based pages are vulnerable to security issues, especially when handling user input. For more information, please have a look at
Yii's Security best practices.