The .iex.exs file

I wrote a blog post about the .iex.exs file and shared what’s in mine!

https://alchemist.camp/episodes/iex-exs

When Elixir's Performance Becomes Rust-y

In this post Nick explores how we can delegate to Rust when we need more compute power in our Elixir app.

https://www.theguild.nl/when-elixirs-performance-becomes-rust-y/

Phoenix Refactoring: One LiveView to many small LiveComponents

Recently I wanted to clean up a large LiveView that had too many responsibilities. I used LiveComponents to break apart to the view into smaller bits that are mostly self-contained. The pattern ended up feeling pretty similar to work I’ve previously done in React and Redux using a one way data flow.

Apologies, after making this video I learned that one way data flow was inspired by Elm.

https://youtu.be/bhdeHhwDFQo

Elixir Wizards S3E7: Dan Ivovich from SmartLogic on Hiring and Training

Latest episode of Elixir Wizards was released yesterday! Check it out:

https://podcast.smartlogic.io/s3e7-ivovich

The reason for Vapor

Loading dynamic configuration is still challenging. In this post, I try to make a case for why we shouldn’t be using Application or config/*.exs for managing configuration and demonstrate alternative patterns using Vapor.

https://keathley.io/blog/vapor-and-configuration.html

Ecto & Multi-tenancy - Prefixes

The third and final part of the saga. This is what I ended up doing for my multi-tenant application using Ecto prefixes and PostgreSQL schema as a simpler alternative to dynamic repos.

https://underjord.io/ecto-multi-tenancy-prefixes-part-3.html

Handling Environment Variables in Phoenix

Environment variables are used to connect different services and configure an application for different environments without hard coding the sensitive values.

This post demonstrates some useful patterns for Phoenix configuration and doesn’t require any new dependencies:

https://phxroad.com/phoenix/environment-variables-in-phoenix

How to Write Elixiry Ruby - Result Object

In Elixir/Erlang, error cases can be easily modeled as tagged tuples: {:error, reason}. But in a more Object-Oriented language like Ruby, it’s hard to model error as a lightweight data structure like Elixir tuples. After some trial-and-error, I’ve found a great way to model errors in OO languages: Result Object.

How to Write Elixiry Ruby - Result Object - Yiming Chen

Easy and Robust Rate Limiting In Elixir

Ever wonder how you could write a rate limiter in Elixir? Check out my latest post https://akoutmos.com/post/rate-limiting-with-genservers/ to learn about GenServers, Task.Supervisor and Erlang’s built in queue data structure.

ElixirMix Podcast 085: Riak Core and Partisan with Mariano Guerra

In this episode of ElixirMix, we talk with Mariano Guerra about Riak Core and Partisan. He wrote a great blog series about the pairing. We cover what the libraries are, the problems they solve, how they are used in Elixir and much more!

Podcast Episode

Elixir v1.10.0-rc.0 is out

https://elixirforum.com/t/elixir-v1-10-0-rc-0-released/28086

Webserver Benchmark: Erlang vs Go vs Java vs NodeJS

https://stressgrid.com/blog/webserver_benchmark/

In this article, we compare the performance of webservers commonly used to implement server-side applications. We look at webservers implemented in Erlang, Go, Java (OpenJDK), and JavaScript (NodeJS).

Plataformatec acqui-hired by Nubank

More info on following urls:

https://elixirforum.com/t/plataformatec-acquired-by-nubank/28072

http://blog.plataformatec.com.br/2020/01/important-information-about-our-elixir-and-ruby-open-source-projects/

Elixir Wizards S3E6: Eric Meadows Jönsson on Hex and Working with Elixir

New year, new podcast episode! The latest Elixir Wizards came out last Thursday:

https://podcast.smartlogic.io/s3e6-jonsson

How to repeat something many times in Elixir?

How to build loops in Elixir and iterate over ranges?<br/> http://k.lelonek.me/elixir-loops

When creating new migration in Ecto (RDBMS mapper for Elixir), make sure to always test it by running and rolling it back successfully. These simple steps guarantees your database remains in stable state

https://hexdocs.pm/ecto_sql/Ecto.Migration.html

Delights of compile-time checking

Just a quick reflection on something I like about being in a compiled language. Nothing fancy :)

https://underjord.io/a-slight-delight-compile-time-checking.html

Piping Phoenix Contexts

It comes a time in a Phoenix app life when a new business requirement touches (almost) all contexts

https://medium.com/@iacobson/piping-phoenix-contexts-3d54dbba8df9

LiveView Design Patterns - LiveComponent and the Single Responsibility Principle

As we use LiveView to back more complex features, the temptation to write “fat” LiveViews grows. Check out our latest post @elixirschool to learn how to use LiveComponent to keep your LiveView code clean and adherent to the Single Responsibility Principle. https://elixirschool.com/blog/live-view-live-component/

Querying nested fields of a map with Ecto

How to query nested JSON/JSONB fields with Ecto queries and how to set up indexes on them.

https://alchemist.camp/articles/querying-nested-map-ecto

Previous page Next page