Re:How not to structure database-backed web apps: performanc...
by manigandham on Thursday June 28, 2018 @08:54AM
(#17416417)
Encouragement and attitude doesn't force you to do anything. You still have to choose to use it, either well or poorly.
This is no different than any other tool that makes things easy but with obvious limits. Proper decision making is still up to you. There really isn't much controversial here if you get past the whole "ORM" hype/hate cycle.
Re:How not to structure database-backed web apps: performanc...
by coldtea on Thursday June 28, 2018 @09:55AM
(#17416847)
>Encouragement and attitude doesn't force you to do anything. You still have to choose to use it, either well or poorly.
I don't believe in choices, people are flimsy. I believe in creating an environment that encourages good behavior.
Re:How not to structure database-backed web apps: performanc...
by manigandham on Thursday June 28, 2018 @10:34AM
(#17417170)
> I don't believe in choices
...ok, people still make choices though, you're not controlling their minds. Perhaps educate your workforce so they make the right decisions by themselves, it's more effective and takes less effort than trying to coerce them through generalizations.
Re:How not to structure database-backed web apps: performanc...
by coldtea on Thursday June 28, 2018 @01:43PM
(#17418964)
>...ok, people still make choices though, you're not controlling their minds.
No, but as a PM you can dictate they don't use an ORM.
Re:How not to structure database-backed web apps: performanc...
by manigandham on Friday June 29, 2018 @12:41PM
(#17425626)
Try reading the 2nd part of my comment.
Re:How not to structure database-backed web apps: performanc...
by pc86 on Thursday June 28, 2018 @08:32AM
(#17416305)
I think the benefit of using an ORM outweighs the cost of making sure you don't have bad programmers on staff. We should be utilizing code reviews and proper source management anyway, right? This should be as simple as a senior/lead developer seeing someone iterating over 8MM rows and saying "don't do that."
That's overly generic.
The truth is that some tools encourage bad performance habits and a lax attitude about it whereas others don't. ORMs do.