Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.

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

66 Aufrufe

Veröffentlicht am

Slides of Eduardo Aguilera, Elixir developer at The Coingaming Group, at Elixir Club Ukraine, Kyiv, 28.09.2019
Next conference - http://www.elixirkyiv.club/

Description of presentation
Only a handful of systems can work on their own, and most of the time this external parties are out of your control, this is why how your application communicates with them is crucial for everything to work smoothly.
Ecto is an incredibly powerful data validation tool, and in this talk I will show you how we use it to make our integrations consistent, catching any error before the request goes out of your realm.


Follow us on social networks @ElixirClubUA and #ElixirClubUA
Announce and materials from conf - https://www.fb.me/ElixirClubUA
News - https://twitter.com/ElixirClubUA
Photo and free atmosphere - https://www.instagram.com/ElixirClubUA
*Organizer’s channel - https://t.me/incredevly

Veröffentlicht in: Technologie
  • Als Erste(r) kommentieren

  • Gehören Sie zu den Ersten, denen das gefällt!

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

  1. 1. Using Ecto To Integrate Shitty Third Parties By Eduardo Aguilera
  2. 2. 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
  3. 3. What is Ecto? Working with data •Ecto.Changeset •Data Validation
  4. 4. 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
  5. 5. 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
  6. 6. 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
  7. 7. 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
  8. 8. 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
  9. 9. Shitty third party No feedback You Shitty Service 💩
  10. 10. Shitty third party No feedback Good request You Shitty Service 💩
  11. 11. Shitty third party No feedback Good request {“success”: false} You Shitty Service 💩
  12. 12. Shitty third party No feedback Good request {“success”: false} You Shitty Service 💩
  13. 13. Shitty third party No feedback Good request {“success”: false} You Shitty Service 💩
  14. 14. Ecto.Changeset Validating Data
  15. 15. Ecto.Changeset Validating Data No Table
  16. 16. Ecto.Changeset Validating Data
  17. 17. Ecto.Changeset Validating Data Any Ecto Type
  18. 18. Ecto.Changeset Validating Data
  19. 19. Ecto.Changeset Validating Data
  20. 20. Ecto.Changeset Validating Data
  21. 21. Ecto.Changeset Validating Data
  22. 22. Ecto.Changeset Validating Data
  23. 23. Ecto.Changeset Validating Data •Magic
  24. 24. Ecto.Changeset Validating Data •Magic •Not Really
  25. 25. Ecto.Changeset Validating Data
  26. 26. Ecto.Changeset Validating Data
  27. 27. How it looks like? Beautiful
  28. 28. How it looks like? Beautiful
  29. 29. How it looks like? Beautiful
  30. 30. How it looks like? Beautiful
  31. 31. How it looks like? Beautiful
  32. 32. How it looks like? Beautiful
  33. 33. How it looks like? Beautiful
  34. 34. How it looks like? Beautiful A little example
  35. 35. How it looks like? Beautiful
  36. 36. How it looks like? Beautiful 💩
  37. 37. How it looks like? Beautiful 💩
  38. 38. Questions? Thank you

×