I love Yii Framework, it works fast, it's pretty cool and easy to develop with. But now I have a problem - I am going to develop Learning Managment System with difficult domain logic and it's not good for me to use Active Record from Yii for my models, it would be better to separate mapping and domain logic.
So I decided to use Doctrine 2 ORM. It's pretty cool too, I liked it when previously I worked with it. But I think it's enough big for not so big Yii Framework.
the main problems are
1) I need some kind of ORM for separate domain logic and mapping. Are there any alternatives for Doctrine 2 ORM?
2) I need good framework to work with this ORM. Is Yii well-suited to use it with Doctrine 2 ORM? Will it lose its benefits when I will use such big and not so fast ORM as Doctrine 2? Maybe it would be better to use Symfony 2 framework to work with Doctrine 2 ORM because they are natively in couple
Thanks
RedBeanPHP is an easy to use open source object relational mapping (ORM) software for Yii framework. Created by Gabor de Mooij in the Netherlands, it is licensed under GPL and New BSD.
RedBeanPHP is used as the database abstraction layer for your Application.
Learn more about RedBeanPHP here: http://www.redbeanphp.com