Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.