I don't like Doctrine, instead I use DataMapper , which is lightweight (much lighter than Doctrine).
I believe this is more efficient and easy. Because it is used with CodeIgniter, the CodeIgniterand DataMapper transactions are the same.
In DataMapper you do not need to create fields in your model manually. Therefore, if you add any fields to the table, you do not need to change your models.
Gowrav vishwakarma
source share