EMPEX LA 2018 - Ecto.Schema without Ecto.Repo by Rosemary Ledesma

Channel:
Subscribers:
42,100
Published on ● Video Link: https://www.youtube.com/watch?v=ioFfhHIPYlg



Duration: 15:27
26 views
0


Ecto.Schema without Ecto.Repo by Rosemary Ledesma

With newer versions of Ecto you can use Ecto.Schema without even importing Ecto.Repo or setting up a traditional database. Why would you wish to?

Your microservice or other lightweight app may not use a database but you'll probably still need to wrangle some serious data: complex params, JSON request/response bodies, RabbitMQ payloads, etc. That's data that you'll need to parse, cast, and validate.

I'll step you through how to use Ecto.Schema on its own to cast and validate various kinds of data, and how to extract the final results whether the data is valid or invalid.

I'll also discuss some of the stumbling blocks and limitations I've encountered while leveraging Ecto.Schema in this way.

About Rosemary: Rosemary is passionate about writing software with Elixir and Phoenix, and works as a back-end software engineer for RentPath LLC. In her spare time she enjoys hiking, swing-dancing, and rowing (crew).




Other Videos By Confreaks


2022-01-13Connecting the Dots with PowerShell by Warren Frame
2022-01-13Building cmdlets for a REST API with PowerShell classes, Azure-based ... by Jeremy Murrah
2022-01-13Deploy Infrastructure As A Service with Azure Resource Manager Templates by Will Anderson
2022-01-13PowerShell Team: PowerShell Core by Joey Aiello
2022-01-13One MOF to rule them all, and in the Azure bind them by Jacob Morrison
2022-01-13Team Leadership Session by Michael Greene & Joey Aiello
2022-01-13A Historical Architectural Tour of PowerShell by Bruce Payette
2022-01-13State of the Art by Jeffrey Snover
2022-01-13Keynote: State of the Community by Don Jones
2022-01-13EMPEX LA 2018 - Shipping a Replacement Architecture in Elixir by Chris Bell
2022-01-13EMPEX LA 2018 - Ecto.Schema without Ecto.Repo by Rosemary Ledesma
2021-09-15RustConf 2021 - This Week in Rust: 400 Issues and Counting! by Nell Shamrell-Harrington
2021-09-15RustConf 2021 - Hacking rustc: Contributing to the Compiler by Esteban Kuber
2021-09-15RustConf 2021 - Compile-Time Social Coordination by Zac Burns
2021-09-15RustConf 2021 - Supercharging Your Code With Five Little-Known Attributes by Jackson Lewis
2021-09-15RustConf 2021 - How I Used Rust to Become Extremely Offline by Luke Westby
2021-09-15RustConf 2021 - Whoops! I Rewrote It in Rust by Brian Martin
2021-09-15RustConf 2021 - Writing the Fastest GBDT Library in Rust by Isabella Tromba
2021-09-15RustConf 2021 - Fuzz Driven Development by Midas Lambrichts
2021-09-15RustConf 2021 - Identifying Pokémon Cards by Hugo Peixoto
2021-09-15RustConf 2021 - The Importance of Not Over-Optimizing in Rust by Lily Mara