4 ms·
Micro-ORM plus plain SQL for big reports is the sweet spot IMO. A few years ago, I was refactoring a large legacy Perl application to be much less messy and a
by majewsky 9y ago
Micro-ORM plus plain SQL for big reports is the sweet spot IMO.
A few years ago, I was refactoring a large legacy Perl application to be much less messy and a bit more object-oriented, and I accidentally a micro-ORM without really realizing it. I think it was a 1000 lines of code in the end, and 95% of all existing SQL usages in the application could be replaced by simple method calls on the ORM's objects.