5Sigma

Phoenix Development with Devenv

Devenv is an environment management utility for NixOS. It makes setting up and managing development mostly painless. Phoenix applications have a number of moving parts that need to be available for everything to work nicely. Heres what we will setup: * Elixir * Erlang/OTP * NodeJS * NPM * ElixirLS * PostgreSQL * Process management for

Distributed Elixir

An introduction to distributed elixir. Building an application that distributes a workload across multiple nodes in an Elixir application cluster.

Handling Local Time Zones with Phoenix

There is little more maddening than dealing with time zones. One good thing about client side web development is – it happens on the client. On the client you have easy access to the user's locale information. So, you can store all your time data in UTC like a

Adjusting the Layouts

The Phoenix Generator created two layouts for us: * layouts/root.html.heex - The Root Layout is always used. It's a good idea to keep this minimal, since it will apply to all pages. * layouts/app.html.heex - The application layout is used for all LiveViews. The

The Landing Page

We need to cleanup some of the generated code. We can replace the default Phoenix home page, templates, and clean up the filenames. Renaming the Generated Files A PageController controller module, and its associated view have been generated. These can be renamed to function as our landing controller. From the

5Sigma © 2026