HAAHHAHAHAHAHAHAHHAHAHAHAHAHAHAHAHAHAHAHAHAHA!!!!! There is nothing more database-coupling than Active Record. Other ORMs may have decoupling as a goal, however.
While you're right of course, I think you also just described why people have been switching to SOA (cough, I mean microservices). If you encapsulate the database and related logic behind its own service interface, then…
HAAHHAHAHAHAHAHAHHAHAHAHAHAHAHAHAHAHAHAHAHAHA!!!!! There is nothing more database-coupling than Active Record. Other ORMs may have decoupling as a goal, however.
While you're right of course, I think you also just described why people have been switching to SOA (cough, I mean microservices). If you encapsulate the database and related logic behind its own service interface, then…