I write about whatever comes to mind. Most of the time it is somehow related to software engineering. I also use this blog to document my progress in learning new things. I hope you find something useful here, and if you do, please let me know.

Tags

How to Get User IP Addresses in Phoenix LiveView

09 November 2024 3 min read
ElixirLiveViewNetworkingPhoenix

Learn how to reliably obtain user IP addresses in Phoenix LiveView applications, whether you're deploying directly or behind a reverse proxy. We'll explore both peer data and header-based approaches.

Read more

Implement the Web Share API in Phoenix LiveView

01 September 2024 7 min read
LiveViewPhoenixWeb Share API

Learn how to implement the Web Share API in your Phoenix LiveView application. This article will show you how to create a custom Phoenix LiveView hook to seamlessly share content, improve the user experience, and increase engagement.

Read more

Building a Table of Contents Component for a Phoenix Blog

04 August 2024 5 min read
FlokiMDExPhoenix

This article shows how to parse MDEx generated HTML into a nested data strcuture that is used to build a table of contents component for a Phoenix blog.

Read more

How to integrate Tabler Icons into your Phoenix project

20 June 2024 4 min read
PhoenixTabler IconsTailwind CSS

Tabler Icons is one of the most popular icon library. This article shows how to integrate the icon library into Phoenix projects. We track the Tabler Icons source repository using Mix and use the Tailwind CSS plugin feature to build an icon component.

Read more

Display the number of online users in real-time using Phoenix Presence

18 February 2024 8 min read
ElixirLiveViewPhoenixPresence

Adding real-time functionality is often a challenge, but in Phoenix we already have built-in functionality to make our application live. We dive into how LiveView and Phoenix Presence can be used to build a real-time user count.

Read more

Hello World! Introduction to my website and blog

09 February 2024 8 min read
ElixirHello WorldLiveViewPhoenix

This is about why Elixir and Phoenix were chosen over a static site generator to build this website, along with explanations and code examples of how some interesting features work in detail.

Read more