Udemyintermediateen

Getting started with Ecto: Fundamentals and overview

Master Ecto: Migrations, schema, and querying. Build robust Elixir databases from the ground up. Learn Ecto basics & beyond!

4.5(3)
40students
3h 33m
Certificate
Bartek Gładecki
Bartek GładeckiSoftware Engineer

Course Content

Getting started with Ecto: Fundamentals and overview is an intermediate-level Udemy course taught by Bartek Gładecki. It runs 3h 33m, is taught in English, and includes a certificate of completion. Learners rate it 4.5 out of 5 from 3 reviews, with 40 students enrolled. It is a paid course, first published January 2024.

Dive into Ecto, the powerful database wrapper for Elixir, and master data manipulation with this comprehensive course! We'll explore the core concepts of Changesets, understanding how to cast data, apply changes, and validate your data structures. You'll gain clarity on the distinction between data and changes fields, and the fundamental differences between structs and Changesets.

This course bridges the gap between Changesets and your database within the Phoenix framework. We'll delve into Phoenix generators and their role in streamlining development. Learn how to manage your database schema with migrations, including adding indices and constraints, and migrating from integer IDs to UUIDs.

Master Ecto.Schema, defining fields and leveraging Embedded Schemas with embed_one and embeds_many for efficient data modeling. We'll cover all types of associations – has_one, has_many, has_many through, and has_many with UUID as a foreign key – enabling robust relationships between your data.

Understand the Ecto.Repo and how to perform essential database operations: inserting, updating, reading, and deleting records. We'll then move on to Ecto.Query, learning how to compose complex queries to retrieve precisely the data you need.

Putting it all together, we'll build a Context module to encapsulate your data logic. Learn to seed your application with initial data and create a script to automatically insert over 50,000 fresh database records for testing.

Explore bulk operations, including Repo.insert_all/update_all, and understand their limitations. Discover the power of Ecto.Multi and database transactions to ensure data consistency.

Finally, rigorously test your Changesets and the entire Context module. The course is designed for hands-on learning; I'll demonstrate each step slowly and clearly, showing you the possibilities within Ecto. Follow along as I build and explain each concept!

$ whoami — the devs behind tutorialsearch.io

Need a web app built? Hire the team behind TutorialSearch.io

We ship fast, production-grade full-stack apps (Next.js, React, edge infra) — the same stack that powers this site.

5.0
1h 54m
intermediate
pluralsight
5.0
3h 5m
beginner
pluralsight
5.0(110)
1h 29m
all
skillshare