ORM in Yii

hi, just wondering, if Yii is ever going to support Constraints on its AR like GRAILS does in its GORM ?

Thanks!

I don’t know what’s “GRAILS in its GORM”, but checking constraints is a task of a database. Also there is CExistValidator.

yes, it’s a completely stupid question. sorry for that! constraints should have been tasks for the database.

but it would be nice to have a feature like GORM, that the database design is actually following the domain model design. I know it’s Hibernate features in GRAILS, but could it be implemented in Yii as well ? any possibilities ?

revo110

We’re not familiar with GORM so please elaborate what are these features you want to be implemented.