News for hackers. Stuff that matters.
Re:ORM is an anti-pattern by voidr on Saturday September 17, 2011 @03:17PM (#3008720)
I find the author to be looking at ORM the wrong way, the way I see it: ORM just gives you basic features that you would probably write yourself, you still have need SQL for more complex stuff.

Basically it's just a standard way to do the basic stuff.

If you want optimized select queries, you can still write them, also inserts are optimal with ORMs.

Re:ORM is an anti-pattern by jeltz on Saturday September 17, 2011 @08:59PM (#3009197)
Inserts are not at all necessarily optimal in ORMs. Inserts can be just as complex as select queries, since they can include arbitrary select queries. A trivial case of that being.

INSERT INTO a SELECT * FROM b;

I personally have not felt the need to use and ORM yet. But then I have not built a CRUD heavy app either. Instead most of my time spent on database work is centered around reporting and other complex queries where no ORM I have seen yet helps much.