Porposal work with doctrine/orm by default demo package


(Wilmer Arambula) #1

I think that fixing ActiveRecord will take too much work, apart from all the code that is handled under the hood is difficult to do under the new version, I think that the ideal is to work directly with doctrine / orm and ensure a robust framework.

What do you think?

Thks,


(Alexander Makarov) #2

The goal is that Yii will work with any database abstraction implementation be it Doctrine, Cycle or our own AR (if implemented).


(Uldisnelsons) #3

ActiveRecord together with Gii is better for big projects than Doctrine


(Alexander Makarov) #4

It is definitely better for bootstrapping and CRUD-like admin panels. It is a bit worse for complicated data.


(demonking) #5

what do you mean by it?
Doctrine or AR?


(Wilmer Arambula) #6

as @samdark said the new version accepts any abstraction whether it is doctrine, eloquent, or active-record of yii, I only comment that for the demo package version as it will not be available yii-active-record is done with doctrine / orm, while the active-record package is fixed.


(Alexander Makarov) #7

AR is definitely better for bootstrapping and CRUD-like admin panels. It is a bit worse for complicated data.