3 ms·
"My advice is to write your own data mapper", noooooooooooo
by carsonreinke 13y ago
"My advice is to write your own data mapper", noooooooooooo
- flevours 13y agoI'd reword data as in "create a clear boundary between your models and the ORM/ODM you use", which easily translates into defining class methods on the model which use the underlying ORM/ODM of choice.
- bestie 13y agoI think this is a really good point, there is a huge difference between trivial data mapping and what an ORM does. Wait while I make this edit ....