Re:How not to structure database-backed web apps: performanc...
by adrianmsmith on Thursday June 28, 2018 @06:32AM
(#17415652)
True, but my point was that that blog post supported the point that ORMs are sometimes promoted as a way to avoid needing to know SQL. The intended audience of that blog post was not people who write ORMs, it was to persuade people who are writing applications that they don’t need to learn how to use a database, that they only need to learn how to use an ORM.
[ Parent
| on HN ]
Re:How not to structure database-backed web apps: performanc...
by sudhirj on Thursday June 28, 2018 @08:47AM
(#17416386)
Yeah, that's isn't going to work. Would want to use an ORM the way you'd use a bicycle - it won't necessarily let you do something you couldn't before, but it makes it easier. Using an ORM without knowing the SQL it generates is like learning to bicycle without learning to walk. You'll fall down at some point and then you're well and truly screwed.