Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

igsm '
igsm '
10,440 Points

ORM debate! Understanding if I need ORM in my project?

Hey! I read about ORMs and I see that there are two types of people, those who advocate ORM utilization and those who is defending traditional way of communication with a database. There are many pros and cons on both sides.

From what I understood, ORMs hinder performance as it is an additional layer of abstraction, however they might seem handy for developers who does not work with databases, speed up development process and the code itself is reproducible.

Do big companies use ORMs and how can I understand if I should use one? (I am using Python and Postgres).

Kenneth Love Andrew Chalkley

1 Answer

Andrew Chalkley
STAFF
Andrew Chalkley
Treehouse Guest Teacher

Big companies do tend to use ORMs and in most cases you'd use one because they have a lot of features baked in, most notably and hopefully SQL injection protection.