Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the component, helper and why are they used, is there other way we can do same thing, what is better?



What is the component, helper and why are they used, is there other way we can do same thing, what i..

Answer / Nakul Kumar

Component: It is a reusable PHP class that extends CComponent. Helper is a convenience function provided by Yii to perform specific tasks. They are used to reduce the repetitive code and enhance productivity. For the same functionality, you can use plain PHP classes or functions. However, using built-in components and helpers provided by Yii offers better performance, consistency, and less boilerplate code.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Yii PHP Framework Interview Questions

What about the naming convention in yii?

1 Answers  


List out some database related functions in yii?

1 Answers  


What's new in yii release 2.0?

1 Answers  


What is cactiverecord in yii framework ?

1 Answers  


Why yii is so fast?

1 Answers  


How to get current action name?

1 Answers  


How does a search() in searchmodel work in yii2?

1 Answers  


What are the core components of yii2 framework?

1 Answers  


Why gii is used?

1 Answers  


What is the component, uses, how can we do and what is the better way?

1 Answers  


Why use yii 2.0 framework?

1 Answers  


What are the steps to install yii2?

1 Answers  


Categories