News for hackers. Stuff that matters.
Re:Your templating engine sucks and everything you've ever w... by MatthewPhillips on Sunday December 11, 2011 @09:15AM (#3340092)
ORM is just less work. If you write in OOP you are already creating objects anyways. Then writing get, save, and update procedures is just a lot of extra work.
Re:Your templating engine sucks and everything you've ever w... by einhverfr on Sunday December 11, 2011 @09:37AM (#3340120)
The problem is then you build databases around your ORM but if you are doing a single app database, why use an RDBMS at all?

In other words, I see an ORM as an antipattern because the subset of cases where it works really well at bridging the gap you probably don't really want an RDBMS in there anyway.

And if you do make it work (encapsulating your db behind updatable views) without running into this, it's a heck of a lot more work than hand-coding SQL.....