Digests » 182
this week's favorite
Make sure that you Know Your App before diving into a Rails to Elixir migration.
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.
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.
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.
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.