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 |
What is the difference between render() and renderpartial() in yii ?
Who developed yii?
What are components in yii 2?
What do you mean by active record in yii?
Why yii is the best framework?
How to make layout in yii?
How to configure yii application with database?
How to include a view file in another view file yii?
How to use module components and aliases?
How can we set a flash message in yii2?
What are the type of models available in yii framework ?
What is name of first file the loaded when yii 2.0 framework starts?