What is An ORM & Why is It Useful?

preview_player
Показать описание
In this video you'll learn about ORMs, Object-Relational Mappers, which are part of any modern web application.

Rails has ActiveRecord, but also other ORMs exists in Ruby like Sequel & rom-rb.

But why do we use these ORMs?

They have two purposes:

1. To save you work from having to manually build SQL (Structured Query Language) queries, which is the language of databases
2. To connect Regular Ruby objects with the data resulting from your query

It's an important component to understand for any serious web developer.

Inside the video you'll find examples of the difference between raw SQL & using an ORM.

You can keep learning by watching more of my videos now, subscribing to the channel if you haven't yet & visiting my website:

Thanks for watching!
Рекомендации по теме
welcome to shbcf.ru