A
A
Alex1222016-12-03 17:14:20
Yii
Alex122, 2016-12-03 17:14:20

How to implement the ActiveRecord pattern?

Hello! I have experience with yii2, now I am writing my own mvc framework and decided to implement the ActiveRecord pattern. In general, I have an idea of ​​​​how it can be implemented, but along the way I would like to learn something and not delay its implementation. I want to find some lesson or guide to move approximately according to some plan, and not invent from my head (I haven’t been able to find anything special in Google yet :( ). Of course, I pay attention to how this is implemented in yii2 Please suggest tutorials, tutorials, code or your own comments on how to implement the architecture of this template in php (also people suggest to implement Data Mapper instead, what do you think?) Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrew, 2016-12-03
@mhthnz

For example: www.phpactiverecord.org

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question