News for hackers. Stuff that matters.
Re:SQL is 43 years old – Here’s why we still use it today by gnaritas on Tuesday May 02, 2017 @01:47PM (#14248684)
> I use OOP to construct good gateways into my tables.

That's all an ORM is, a good default gateway to the tables that you don't have to write by hand.

Re:SQL is 43 years old – Here’s why we still use it today by corpMaverick on Wednesday May 03, 2017 @10:56AM (#14256194)
ORMs (i.e. Hibernate) try to hide the database. You change the objects and they are magically saved. See http://stackoverflow.com/questions/20863150/in-the-context-o...
Re:SQL is 43 years old – Here’s why we still use it today by gnaritas on Wednesday May 03, 2017 @01:13PM (#14257837)
I've written ORM's, I don't need them explained to me, and no all ORM's don't try and hide the database, that's just one pattern. Others like ActiveRecord simply try and make life simpler without complete hiding behind so much magic you can't figure out what's going on. ORM's abstract the database, that's not the same as hiding the database.
Re:SQL is 43 years old – Here’s why we still use it today by yawaramin on Sunday May 07, 2017 @01:55PM (#14286576)
Except for the times when they load all columns into memory and then you programmatically discard almost everything because you really just needed Person#name.
Re:SQL is 43 years old – Here’s why we still use it today by remotehack on Tuesday May 02, 2017 @07:53PM (#14251842)
An ORM is a gateway...not a good gateway.
Re:SQL is 43 years old – Here’s why we still use it today by gnaritas on Tuesday May 02, 2017 @08:45PM (#14252135)
Most disagree, hence the popularity of ORM's.