Use handle_params/3 more often rather than mount/3 for assigning. def mount(_params, _session, socket), do: {:ok, socket} def handle_params(params, _uri, socket) do {:noreply, socket |> assign_here_1(params) |> assign_here_...
Lists are integral components in Android applications, found across various functionalities like contacts, chat, social media, and music apps. Even seemingly simple apps, like calculators, incorporate lists for unit conversions. As an Android develop...
Imagine you are writing an app to handle products for a marketplace. Each Product has up to 3 images associated with it. When editing a Product, you should be able to remove any of the already associated images and add new images to the Product, alwa...
Trello cards help you to collaborate, manage projects, and reach new productivity peaks(As per their official Website 😊). You may have used it earlier or some similar board like Jira to manage projects and tasks. When I joined one of my previous org...
This blog is a continuation of a three-part blog series on creating a real-time Trello board. This is going to be part 2 of the series. In the previous blog, we designed and implemented the API layer of the application. We added two tables i.e User a...
In this article I'm gonna show how to create a reusable multi-tag selection component for a Phoenix LiveView Prerequisite phoenix_live_view tailwind css Add a live route go to router.ex and add live "/" ParentLiveView Create a Phoenix LiveVie...
Woah read that title again, what a mouthful. I've spent the last five evenings after work trying to get this to work. I've cobbled together blog posts, forums posts, github issues, hell I've spelunked chinese stackoverflow content cloner websites try...
Recently, I got the opportunity to be a guest on Elixir Mix podcast. Though I was nervous(super nervous) but the hosts of the show Sascha Wolf, Adi Iyengar, and Allen Wyma were very welcoming and made me comfortable. The podcast was about my blog Fet...
This blog is about adding a Toaster message in the Phoenix LiveView application. We are going to implement this with a combination of Elixir and Javascript. Before, starting to build a toaster let's first answer the most obvious question "What is a T...
A good user experience happens when an application is easy to use and with intuitive UI feedback. Nav menu bar is one the most important element in web applications, it helps users to navigate to different pages. It's vital that users should be aware...