Nyoman Abiwinandablog.abiwinanda.com·Nov 11, 2024Controller-Free Approach for File Export in Phoenix LiveViewIn a recent project involving LiveView, I was tasked with building a page to display an accounting report. Alongside this requirement, it was important to enable users to export the report as an Excel file. While the common approach involves creating...DiscussElixir
BetaMizeforElixirMastersblog.elixirmasters.com·Sep 7, 2024Understanding Virtual Fields in Phoenix Schemas: A Comprehensive GuideWhen working with Phoenix, the web framework built on Elixir, you’ll often find yourself defining schemas to map your database tables to Elixir structs. These schemas are powerful tools that help manage data interactions in a clean, structured way. B...DiscussElixir
BetaMizeforElixirMastersblog.elixirmasters.com·Jul 19, 2024Exploring Phoenix LiveView: Real-Time Web Development in ElixirPhoenix LiveView is a groundbreaking library for Elixir that enables the creation of rich, real-time web interfaces without the need for complex JavaScript frameworks. Built on top of the Phoenix framework, LiveView leverages Elixir's strengths in co...Discuss·10 likes·28 readsElixir
BetaMizeforElixirMastersblog.elixirmasters.com·Jul 10, 2024Understanding Concurrency in Elixir: Key Practices and ExamplesConcurrency is a core strength of Elixir, a language designed for building scalable and maintainable applications. Leveraging the Erlang VM, Elixir excels in handling numerous simultaneous connections, making it ideal for modern web applications, rea...Discuss·69 readsElixir
BetaMizeforElixirMastersblog.elixirmasters.com·Jul 9, 2024The Ultimate Guide to Web Development with Elixir and Phoenix FrameworkElixir, a functional and concurrent programming language, has gained significant popularity for web development, thanks to its robust performance and scalability. At the heart of Elixir's web development capabilities is the Phoenix framework, which o...Discusselixir consultancy
BetaMizeforElixirMastersblog.elixirmasters.com·Jul 3, 2024Introduction to Functional Programming in Elixir: Key Concepts You Need to KnowIn the realm of modern programming, functional programming stands out for its clarity, conciseness, and robustness. Elixir, a dynamic and functional language built on the Erlang VM, is an excellent choice for developers looking to harness the power o...DiscussElixir
Dung Nguyendevtribes.hashnode.dev·May 27, 2024SaladUI - Implement avatar component for Phoenix LiveViewThis post is written after I implement Avatar component for SaladUI component library for Phoenix LiveView. An avatar component is quite simple, but I want to enhance it with fallback avatar text. The template structure is as following: <.avatar> <...DiscussElixir
Filippo Mamelimameli.hashnode.dev·May 7, 2024Elixir-Powered Macbook Sensor Monitoring: A Hands-On GuideAs a computer engineer, it's challenging these days to keep up with all the updates in Artificial Intelligence. In the past few months, we've already seen LLama3, Devin (and its fall), Gemini 1.5, Claude 3, and more. With a full-time job, it's even h...Discuss·1 like·53 readsElixir
Pau Riosapaugramming.com·Apr 28, 2024How to make ChartJS Responsive in Phoenix LiveViewPackage Versions phoenix liveview -> 0.20.2 chart.js -> 4.4.2 Setup // config setup import Chart from "chart.js/auto"; export const BarChart = { dataset() { return JSON.parse(this.el.dataset.items); }, labels() { retu...Discuss·115 readsElixir
Pau Riosapaugramming.com·Feb 22, 2024Things I Learned using Phoenix LiveView in 2024 (Part 2)The beauty of assign_async/3 and async_result/1 # LiveView def handle_params(params, _uri, socket) do {:noreply, socket # ... more assigns here |> assign_async_coffees()} end # ... more code here defp assign_async_c...DiscussElixir