Programming

Programming

1462 bookmarks
Custom sorting
Oh, the API Clients You’ll Build (in Elixir)
Oh, the API Clients You’ll Build (in Elixir)
Today we are going explore how to write API clients in the Elixir language. This is a follow-up article to my presentation at OpenCamps…
·medium.com·
Oh, the API Clients You’ll Build (in Elixir)
Testing Event Based APIs
Testing Event Based APIs
When writing Unit Tests or Integration Tests for an API that exposes events, we need a way to validate that the events are called. The simplest approach would be to set a variable when the event is called. In the test itself we can sleep for a certain duration and check the variable:
·danzilberdan.github.io·
Testing Event Based APIs
Serving static assets on a subpath in Phoenix
Serving static assets on a subpath in Phoenix
Phoenix serves static files with a Plug.Static defined in the endpoint. But what if we want to serve additional static files from subpaths?
·medium.com·
Serving static assets on a subpath in Phoenix
Today I Learned
Today I Learned
TIL is an open-source project by Hashrocket that exists to catalogue the sharing & accumulation of knowledge as it happens day-to-day.
·til.hashrocket.com·
Today I Learned
Persistent connections with gen_statem
Persistent connections with gen_statem
How we can use the gen_statem behaviour to implement a resilient state machine that holds a connection to an external service.
·andrealeopardi.com·
Persistent connections with gen_statem
Building a Streaming Music Service with Phoenix and Elixir
Building a Streaming Music Service with Phoenix and Elixir
I thought it would be nice to make a streaming music service focused on bringing lo-fi artists and listeners together. Early on, I put together a series of prototypes to explore with a small group of listeners and artists. Since this is a technical article, I'll jump right into the requirements we arrived at, though I'd love to also do an article on the strategies and principles that guided our exploration.
·lofi.limo·
Building a Streaming Music Service with Phoenix and Elixir
Polymorphic embeds in Ecto
Polymorphic embeds in Ecto
How to abuse Ecto embeds to do our dirty polymorphic bidding.
·danschultzer.com·
Polymorphic embeds in Ecto
Dangers Of Genservers
Dangers Of Genservers
In this article, we outline some of the technical details of GenServers in Elixir, which is used to serve a large multitude of people with high speed. This is a deep dive into GenServers and discovering their limitations and strengths.
·learn-elixir.dev·
Dangers Of Genservers
eigr.io – A Serverless Runtime on the BEAM
eigr.io – A Serverless Runtime on the BEAM
Hello Elixir enthusiasts! 🚀 As the tech landscape evolves, so should our tools and approaches to development. Today, I'm excited to introduce you to a significant advancement in Elixir development that can reshape how we build distributed systems – I present to you Spawn.
·eigr.io·
eigr.io – A Serverless Runtime on the BEAM
Avoid Trips To The Database With Nebulex - Phoenix Series
Avoid Trips To The Database With Nebulex - Phoenix Series
Recently, I have been looking for ways to optimize my Stream Closed Captioner application. During one of my typical scroll-throughs of my Following lists and other sites, I discovered Nebulex. Nebulex, a local and distributed caching toolkit for Eli...
·blog.guzman.codes·
Avoid Trips To The Database With Nebulex - Phoenix Series
Designing solutions with state machines in Elixir | Ready for Production
Designing solutions with state machines in Elixir | Ready for Production
Have you ever needed to build solutions related to execution flows like wizards, admission processes, or game rules in your software? If you do, you know it can be a nightmare of conditionals and complexity. We can make our lives easier by developing them using state machines.
·readyforproduction.dev·
Designing solutions with state machines in Elixir | Ready for Production