José Valim, Elixir creator, discusses Elixir 1.17 updates, Phoenix Playground for single-file apps, set-theoretic types for behaviors, Igniter project enhancements. Plus, Phoenix and Inertia.js collaboration, Nx Scholar's new machine learning version, and cutting-edge developments in the Elixir community. Exciting insights into the latest Elixir ecosystem tools, machine learning projects, and unconventional Elixir conference talks.
Elixir 1.17 brings improved type inference and new Duration data type.
Phoenix Playground simplifies single-file app creation in Phoenix.
Inertia JS integration with Phoenix Live View enables backend-driven single-page applications.
Deep dives
Elixir 1.17 Released with Type Inference and Erlang OTP27 Support
Elixir 1.17 and 1.17.1 have been released with type inference for patterns like binaries, maps, and atoms within functions. The release also introduces a new duration type for interacting with calendar types and supports Erlang OTP27, which comes with a built-in JSON module. 1.17.1 includes improvements for Mix Compile to enhance compilation times, bug fixes for EEX templates, and enhancements for using pinned variables in 'with' statements.
Phoenix Playground Makes Creating Single-File Phoenix Applications Easier
Vojtekmok announced Phoenix Playground, a project simplifying the creation of single-file Phoenix applications. By collaborating with Lubian, the project focuses on streamlining Live View app development with minimal boilerplate, supporting live code reloading, and retaining LiveView state through reloads. This tool accelerates prototyping and sharing of interactive Phoenix code, enabling easier bug reporting and testing.
Inertia JS Integration with Phoenix Live View for Streamlined Backend-Driven Applications
SaviCal's open-source library adapts Inertia JS to work with Phoenix Live View, facilitating backend-driven single-page applications with server-side routing. The library's adoption by Inertia JS underscores its value in simplifying modern app development by combining server-side and client-side functionalities, enhancing scalability and streamlining the code interaction process.
Flame On Update: SVG Download Capability for Improved Sharing and Analysis
The Flame On dashboard from Dockyard is updated to version 0.7.0, introducing the ability to download Flame Graphs as SVG files for easy sharing and analysis. This feature enables users to visualize and analyze performance data more effectively, showcasing improvements, and facilitating detailed reports or collaborative feedback on performance metrics.
LiveView Native UI Patterns Enhance Backend-Driven Mobile App Development
Brooklyn Myers from Dockyard presents LiveView Native UI patterns, bridging Phoenix LiveView with mobile app development. The talk focuses on styling and templating patterns in LiveView Native, extending backend functionalities to iOS mobile applications, showcasing innovative styling and templating methods for seamless backend and frontend integration.
Event Sourcing and CQRS Architecture: Real-world Challenges and Solutions with Elixir
A deep dive into event sourcing and CQRS architecture is explored through a detailed case study of a multi-stage concurrent data processing pipeline. The talk delves into managing backpressure, GenStage implementation, and real-world implications of event-based systems, providing insights into architectural design challenges and practical solutions in Elixir application development.
This week's show features the latest releases Elixir 1.17.0 and 1.17.1, bringing improved type inference and a new Duration data type. We'll also dive into Phoenix Playground's streamlined approach to single-file applications, José Valim shares another Elixir academic research project taking shape on set-theoretic types for behaviors, and updates from the Igniter project on enhancing code generation and project patching. With a look at how Phoenix and Inertia.js are joining forces and the latest on Nx Scholar's new version for machine learning, this episode is packed with cutting-edge developments in the Elixir community, and more!