Porposal work with doctrine/orm by default demo package

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,

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

2 Likes

ActiveRecord together with Gii is better for big projects than Doctrine

2 Likes

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

what do you mean by it?
Doctrine or AR?

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.

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