Using Mnesia in an Elixir Application

Learn more about Mnesia, see when you would use such a tool, and take a look at some of the pros and cons of using it. After covering the fundamentals of Mnesia, we’ll dive right into a sample application where we’ll build an Elixir application that uses Mnesia as its database.

https://blog.appsignal.com/2020/05/19/using-mnesia-in-an-elixir-application.html

Let’s Code: Contact Form in Phoenix – The Schema

I’m writing a series on adding a contact form to a Phoenix 1.4+ application. This first post covers the schema and how I approach data modeling in Phoenix applications that use Ecto. I hope you find it useful 💜

https://zachporter.dev/posts/lets-code-contact-form-in-phoenix-part-one/

Write your own Phoenix PubSub adapter

Short guide on writing your own Phoenix PubSub adapter, with an example based on EventStore.

https://www.erlang-solutions.com/blog/how-to-write-a-phoenix-pubsub-adapter-tutorial-example-based-on-eventstore.html

Many to Many relationships in Ecto - Part-02

https://www.youtube.com/watch?v=_ut8o0fdXRo&t=6s

IntelliJ Elixir v11.6.1

Changelog

v11.6.1

Bug Fixes

  • Support diffs in pattern matching added in Elixir 1.10.0 in the ExUnit formatter. Ports elixir-lang/elixir@98c6bba436cc4833363295e5fedd3f819504d79d.
  • Only require at least the number of children to safely get a specific child instead of exact number to allow getting prefix children when there are grammatical errors.

Installation Instructions

Managing Multi-Step forms with Phoenix LiveView

Big forms are a pain to manage– even harder to manage when you need to change values based on previous input and compute data based on that new selection. Phoenix LiveView can make this easier. Check out some techniques I used to help organize big forms.

https://bernheisel.com/blog/liveview-multi-step-form/

Adoptoposs – A Phoenix LiveView app to find new (co-)maintainers

This is a Phoenix LiveView project I built over the last months to help you find new (co-)maintainers for your open source projects.

https://github.com/adoptoposs/adoptoposs

You can read more about the background story and check it out on adoptoposs.org.

Elixir Wizards S4E1 Season Four Launchisode

The Elixir Wizards podcast is back! Check out the first episode of season four here: https://podcast.smartlogic.io/s4e1-launchisode

On behaviour reflection

A post about the feature I’m missing most in Elixir: the ability to get all modules implementing a behaviour. It shows some real-world cases of the problem and some of the hacks to solve it.

https://medium.com/@MarcelOttoDE/the-walled-gardens-within-elixir-d0507a568015

Deploy on Ubuntu with mix release (without Docker) and GH Actions

I wrote a little blog post about how to deploy on bare metal and have a complete CI running using Github Actions and “mix release”, check it out https://medium.com/elixir-bytes/deploy-on-ubuntu-with-mix-release-and-github-actions-c0fc31a7ef02

behaviour_reflection

A tiny library which allows to get all modules implementation a behaviour: https://github.com/marcelotto/behaviour_reflection

Slaying Changelog's compilation beast

How I reduced cross-module compilation dependencies by 98% 🚀 https://changelog.com/posts/how-i-reduced-changelogs-compilation-dependencies-by-98

many_to_many relationships in Ecto and Phoenix - Screencast - Part 1

https://www.youtube.com/watch?v=Cl2U_8XtUBM

Building an Offline-First React Web App Using WatermelonDB in Phoenix (Elixir)

We will build a web application that supports local db synced with remote db

https://fahri.id/posts/building-an-offline-first-react-web-app-using-watermelondb-in-phoenix-elixir/

How to Build WatermelonDB Sync Backend in Elixir

WatermelonDB is a reactive database for React frontend application that supports data synchronization. This tutorial explains the concept and shows step by step how to build sync backend using Phoenix (Elixir)

https://fahri.id/posts/how-to-build-watermelondb-sync-backend-in-elixir/

Solving Sudoku in Elixir with AC-3

AC-3 algorithm implementation in Elixir walkthrough with Sudoku as an example problem:

https://www.youtube.com/watch?v=ao1CO8_V5do

Using WebSockets With Cookie-Based Authentication

Cookie-based authentication has been the default method for handling user authentication. But how to it for WebSockets? Check how here.

Finch - HTTP client focused on performance

Finch is a new, performance-focused HTTP client that is built on Mint and NimblePool.

https://github.com/keathley/finch

Reverse Engineering for Poor

Using __STACKTRACE__ and Process.info(self(), :current_stacktrace) to quickly grok the foreign code.

https://rocket-science.ru/hacking/2020/05/08/reverse-engineering-for-poor

Removing duplicates from a list in Elixir

I wrote a quick article on how to remove duplicates from a list using Enum and how to implement a version from scratch using recursion.

https://programmingzen.com/remove-duplicates-from-list-elixir/

Previous page Next page