The Lifecycle of a Phoenix LiveView

The Lifecycle of a Phoenix LiveView

The LiveView request lifecycle runs twice when a connection is first made to your application. It runs once to render static content for web crawlers, search engines, and other non-javascript-enabled clients. The second pass occurs when the browser establishes the...
Building Embedded Systems in the Modern Era

Building Embedded Systems in the Modern Era

I remember the early days of hacking small devices with a single purpose. Many of them lived unconnected and provided one bit of functionality. Maybe you remember that day too. Perhaps you were a professional working on a sprinkler controller or a hobbyist that wanted...
Dynamic Form Inputs in Elixir LiveView

Dynamic Form Inputs in Elixir LiveView

I recently found myself addressing a product requirement involving a form with input fields generated from a list of data we retrieved from a third-party provider. This requirement proved challenging as the prescribed user experience stretched a little beyond the...
Front-End Testing in Phoenix With Wallaby

Front-End Testing in Phoenix With Wallaby

Why is front-end testing even a thing? We have LiveView, right? I can run tests on my components and everything is magical. What is Wallaby? You may have heard of Wallaby at the Big Elixir when Britton Broderick gave a talk about using it with LiveView, or maybe you...
The Kanban 10 Commandments

The Kanban 10 Commandments

What is Kanban? A Kanban is a visual tool used by teams to organize the workflow of projects. The basic premise is to create a board for a project and sort the associated tasks into three columns: To do, work in progress (WIP), and done. Initially used by Toyota in...
Raw Websockets in Phoenix

Raw Websockets in Phoenix

At Binary Noggin, we frequently use Phoenix Channels to build applications. Although Phoenix Channels are cool, they aren't always needed when integrating with clients. Sometimes a raw websocket connection is all you need to get real-time communication up and running....