Hi,
It's recently come up in some of the Wikidata changes proposed to core to start using some ORM-like interfaces for accessing this data[0]. Since we don't use ORM-style access anywhere else in core, I figured it warranted some wider discussion before we begin introducing the pattern.
Personally, I'm a big fan of consistency and since we don't use ORM anywhere else, I'm hesitant to begin using a new design pattern here (and I'm not entirely convinced why it's *needed*). On a more philosophical level, I personally don't like ORM because I think it needlessly abstracts data access in a more confusing way--but my personal feelings can be forgotten if people think this actually makes more sense.
However, I may be in the minority here, and my fears are unfounded. I would love some feedback from everyone about whether ORM in the sites code (and more generally, in core) is a good idea.
Thoughts?
-Chad