3 ms·
Totally agree! I come from the world of Perl, at the start of my career. Perl has DBIx::Class, still one of the best ORMs IMO. I’ve transitioned via PHP and L
by moltar 5y ago
Totally agree!
I come from the world of Perl, at the start of my career. Perl has DBIx::Class, still one of the best ORMs IMO.
I’ve transitioned via PHP and Laravel, which also has a decent ORM.
Nowadays I’m heavy into TypeScript and have tried every ORM there is in the JS/TypeScript land.
And I’ve settled on Zapatos, which is not an ORM, but exactly what you describe. It’s a utility that helps writing type safe and hinted queries.
This approach contrasted with, let’s say, TypeORM which is full of broken magic under the hood, is a breath of fresh air and is a delight to use.
Together with that I write simple repository wrappers manually and surprisingly there aren’t that many of them.