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 |
How to use ajax in yii?
How does yii compare with other frameworks?
If you have to validate a registrations module for a user, what all can be possible ways, which one is the best?
How to include a javascript menu through a site?
What are the directory structure of yii 2.0 framework?
List out some database related functions in yii?
What are components in yii 2.0 framework?
How to use datetimepicker in yii2?
What about the naming convention in yii?
How to get current controller name?
What are the prerequisites yii?
What is required properties in yii application? Why?