4 ms·
My problem wit ORMs is that majority of them assumes 1–to-1 correspondence between table-rows and objects. And forces me to build a layer on top which glues pie
by indeyets 4y ago
My problem wit ORMs is that majority of them assumes 1–to-1 correspondence between table-rows and objects. And forces me to build a layer on top which glues pieces of object-graphs into higher level abstraction. I often feel that writing custom mappers which skip this lower level works better. Original DataMapper and DataAccessObject patterns have this flexibility in mind, but are rarely used these days