DEV Community

Around IT In 256 Seconds

#62: Object-relational mapping: hiding vs. introducing complexity

Object-relational mapping, ORM for short, simplifies access to relational databases. Such frameworks help with developing applications without writing SQL. SQL was supposed to be easy to use for non-programmers. That’s part of the reason why SQL is so verbose. However, writing complex joins by hand is hard. Also, typically, once you fetch data from your database, you immediately translate it to objects. So why not build a universal framework for such mapping? Like, object-relational mapping?

Read more: https://nurkiewicz.com/62

Get the new episode straight to your mailbox: https://nurkiewicz.com/newsletter

Episode source