Choosing the Right Database Abstraction

Choosing a database abstraction

A question came up recently in the Perl community asking whether, in a Mojolicious application, it’s better to use DBIx::Class or a Mojolicious-specific module like Mojo::Pg. It’s an interesting question, but I think it’s asking the wrong thing. I’ve spent almost forty years moving up the stack of database abstractions. Every few years, someone invents […]

DBIC vs DBI

Three times in the last few months I’ve had the “DBIC or raw DBI” discussion. People have told me that they don’t use DBIC because raw DBI is better. And each time, the person promoting DBI in the discussion has used an argument that boils down to “DBIC is probably useful for people who don’t […]