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 are the type of models available in yii framework ?



What are the type of models available in yii framework ?..

Answer / Amrita Tiwari

Yii provides three types of models: Active Record, DOActiveRecord, and Data Model. The Active Record pattern maps database tables to PHP classes that can perform CRUD operations using methods like findByPk(), save(), delete(), etc.nDOActiveRecord is similar to Active Record but uses the Doctrine ORM library for database operations.nData Model does not map to a specific database table and allows you to define your own database access logic.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Yii PHP Framework Interview Questions

What is the difference between render() and renderpartial() in yii ?

1 Answers  


Who developed yii?

1 Answers  


What are components in yii 2?

1 Answers  


What do you mean by active record in yii?

1 Answers  


Why yii is the best framework?

1 Answers  


How to make layout in yii?

1 Answers  


How to configure yii application with database?

1 Answers  


How to include a view file in another view file yii?

1 Answers  


How to use module components and aliases?

1 Answers  


How can we set a flash message in yii2?

1 Answers  


What are the type of models available in yii framework ?

1 Answers  


What is name of first file the loaded when yii 2.0 framework starts?

1 Answers  


Categories