Digests » 182

elixir

Best practices for integrating with third-party libraries in Elixir

When we think about what an application does, it’s typical to think of how it behaves in context of its dependencies. For example, we could say a ficticious application sync’s data with a third-party CRM. The way we think about our application impacts how we make abstractions in our code. If we think about a typical web application, we might have a database, router, controllers and some business logic around how we use our data and show it on the page. In many cases, we need to integrate our app with external API’s, third-party libraries and more.

Getting Started with Ecto Part 3: CRUD Operations

Welcome to part three of Getting Started with Ecto. On the last post, we covered how to create migrations, schemas, and changesets. In this post, we will cover how to run CRUD operations against our Postgres database using Ecto.

From Rails to Elixir: Know Your App

Make sure that you Know Your App before diving into a Rails to Elixir migration.

When a Changeset is a Plug

It seems a user incorrectly entered a URL, replacing what should be a UUID with a regular binary. It could be a path that has changed, or a bad inbound link, or just a typo.

Realtime Market-Data Updates with Elixir

Cryptocurrency exchanges usually open their realtime feed for free and, like Coinbase Pro, without even having to create an account. This gives us a great way to build an architecture around realtime market data. In this article we see how to build an Elixir application to get realtime updates from the coinbase websocket feed, handling crashes and disconnections.