Tag Archives: yii tips and tricks

Yii Interview Questions and Answers – Part 4

31. List out some database related functions in Yii? Query, find, findAll , findByPk , find By 32. How to include a javascript menu through a site? We can include by adding the javascript files in webroot and then call them in default views if they are needed everywhere or in the related views. 33.

Yii Interview Questions and Answers – Part 3

21. What is the differences between render , renderPartial and renderfile in yii framework ? render() is commonly used to render a view that corresponds to what a user sees as a “page” in your application. It first renders the view you have specified and then renders the layout for the current controller action (if

Yii Interview Questions and Answers – Part 2

11. How to set default controller on Yii Project ? We can set on configuration file (protected/config/main.php). array( 'name'=>'Yii Framework', 'defaultController'=>'site', ) 12. How to access application components on Yii Project ? To access an application component, use Yii::app()->ComponentID, where ComponentID refers to the ID of the component (e.g. Yii::app()->cache). 13. What are the core

Yii Interview Questions and Answers – Part 1

1. What is Yii ? Yii is a high-performance, component-based PHP framework for developing large-scale Web applications rapidly. It enables maximum reusability in Web programming and can significantly accelerate your Web application development process. 2. What are the requirements need for use Yii framework? you need a Web server that supports PHP 5.1.0. You also

Subscribe Now!
Sign-up for our email newsletter and get free job alerts, current affairs and GK updates regularly.

Subscribe Here

Popup Dialog Box Powered By : XYZScripts.com
  • RSS
  • Facebook
  • Google+
  • Twitter