2 ms·
Dunno what broken ORMs everyone is using, but every one I've ever used has given me enough control to pretty much exactly control what SQL is going to be run.
by jrockway 17y ago
Dunno what broken ORMs everyone is using, but every one I've ever used has given me enough control to pretty much exactly control what SQL is going to be run. So I get good performance on the database side, while still being able to implement my object-oriented program with objects.
FWIW, I use DBIx::Class.
I also agree that ORMs are a bad fit for many programs. Most of the applications that people are writing don't need a relational database at all, as arbitrary queries wouldn't make much sense. In that case, you might as well use an object database -- then there is no querying and there is no impedance mismatch. The result is an app that runs fast and is fast to implement.
- jawngee 17y agoIt's a minor miracle, but for once I agree with you. The ORM we use at massify (which is open sourced at http://heavyfuckingmetal.com http://heavyfuckingmetal.com) I've never run into the issues I've seen everyone bitching about in these gloomy, doomsday posts about ORMs. Our ORM even works seamlessly with NoSQL KV stores, as well as things like Solr/Lucene. All very transparently, all very easily.