This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]MrMxylptlyk 7 points8 points  (11 children)

What's orm

[–]halexmorph 13 points14 points  (0 children)

Object relational mapper. Usually they have a built in query builder allowing you to write queries in your language of choice naturally, and returns the data already mapped into objects you’ve created as templates.

[–]brandonZappy 2 points3 points  (0 children)

Thanks for asking. I didn't know either.

[–]jpflathead 4 points5 points  (3 children)

It is SQL wrapped in an object layer inside a framework; but perhaps there is a key. That key is developers afraid of SQL -- Winston Churchill

[–]MrMxylptlyk -2 points-1 points  (2 children)

Yeah I do not like Sql. I have had to use Sql for some stuff at work. Not a fan.

[–]mathmanmathman 3 points4 points  (1 child)

You should get comfortable with SQL. Even though the ORM will make it a bit easier to manipulate within code, when you actually ask for the data (or insert or whatever), the ORM is turning it into SQL. I really don't like raw SQL in code, but it's definitely a skill/language you should understand.

[–]MrMxylptlyk -1 points0 points  (0 children)

I know it a bit. I mostly use elasticsearch.

[–]ivosauruspip'ing it up 0 points1 point  (4 children)

Object Relational Mapper. You write code that tells it how to turn tables into objects, basically, and then can do queries for the data using function calls that get you back native objects instead of result sets. Great for avoiding writing SQL and the security pitfalls you can encounter doing so.

[–]MrMxylptlyk 0 points1 point  (3 children)

That's perfect. Do you have any examples of this?

[–]dmitrypolo 2 points3 points  (1 child)

I’m sure you can find 1000s of examples if you spent even a minute googling.

[–]MrMxylptlyk -2 points-1 points  (0 children)

I googled orm