Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I worked on one system that did intentionally put business logic almost entirely in the DB. The VP was a former database guy and the primary justification was auditing. It worked well enough in practice.

There’s a quote from Gavin King somewhere exhorting developers that ORMs and raw sql are meant to be used concurrently, ORM for CRUD ops,sql for most everything else.

The problem I have with ORMs is lack of paging on collections; there’s always that one user that pulls in half the database.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: