Using Ecto
To Integrate Shitty
Third Parties
By Eduardo Aguilera
What is Ecto? Working with data
•Ecto.Repo
•Data Store Communication
•Ecto.Schema
•Data into Elixir Structs
•Ecto.Changeset
•Data Validation
•Ecto.Query
•Information Querying
What is Ecto? Working with data
•Ecto.Changeset
•Data Validation
What is Ecto?
Changesets provide a way for developers to filter and
cast external parameters, as well as a mechanism to track
and validate changes before they are applied to your data
Ecto.Changeset
What is Ecto?
Changesets provide a way for developers to filter and
cast external parameters, as well as a mechanism to track
and validate changes before they are applied to your data
Ecto.Changeset
• Validates Data
What is Ecto?
Changesets provide a way for developers to filter and
cast external parameters, as well as a mechanism to track
and validate changes before they are applied to your data
Ecto.Changeset
• Validates Data
What is Ecto?
Changesets provide a way for developers to filter and
cast external parameters, as well as a mechanism to track
and validate changes before they are applied to your data
Ecto.Changeset
• Validates Data
What is Ecto?
Changesets provide a way for developers to filter and
cast external parameters, as well as a mechanism to track
and validate changes before they are applied to your data
Ecto.Changeset
• Validates Data
Pretty cool
Shitty third party No feedback
You Shitty Service
💩
Shitty third party No feedback
Good request
You Shitty Service
💩
Shitty third party No feedback
Good request
{“success”: false}
You Shitty Service
💩
Shitty third party No feedback
Good request
{“success”: false}
You Shitty Service
💩
Shitty third party No feedback
Good request
{“success”: false}
You Shitty Service
💩
Ecto.Changeset Validating Data
Ecto.Changeset Validating Data
No Table
Ecto.Changeset Validating Data
Ecto.Changeset Validating Data
Any Ecto Type
Ecto.Changeset Validating Data
Ecto.Changeset Validating Data
Ecto.Changeset Validating Data
Ecto.Changeset Validating Data
Ecto.Changeset Validating Data
Ecto.Changeset Validating Data
•Magic
Ecto.Changeset Validating Data
•Magic
•Not Really
Ecto.Changeset Validating Data
Ecto.Changeset Validating Data
How it looks like? Beautiful
How it looks like? Beautiful
How it looks like? Beautiful
How it looks like? Beautiful
How it looks like? Beautiful
How it looks like? Beautiful
How it looks like? Beautiful
How it looks like? Beautiful
A little example
How it looks like? Beautiful
How it looks like? Beautiful
💩
How it looks like? Beautiful
💩
Questions?
Thank you

Integrating 3rd parties with Ecto - Eduardo Aguilera | Elixir Club Ukraine