Re:Paul Graham inspired the creation of Redis
by icebraining on Wednesday March 27, 2019 @04:54AM
(#19499041)
.. and the code you implement to connect that business layer to that storage layer is an ORM.
The idea that the ORM forces the storage layer to a particular representation of the business layer is only true if they implement the ActiveRecord pattern, which isn't universal.
One thing I've learned about this "impedance mismatch" is that it isn't a syntax thing, it's a fundamental difference in the way of viewing the world. The way you store data about the world is different from the way you model that world dynamically, with objects. I find it safer to always split out the "business model" from the storage layer, so that those different views don't interfere - and once you do that, you may as well implement the storage layer in a relational way.