ElixirMix Podcast 078: Phoenix Phrenzy with Nathan Long
In this episode of ElixirMix, we talk with Nathan Long about the Phoenix Phrenzy contest he organized and the results. We learn about what goes into organizing an event like that, the judging, we cover the winners, all are open source submissions, what people can do with LiveView and much more!
More insightful Elixir logging with Logger metadata
I have just published <a href=”https://www.amberbit.com/blog/2019/11/18/more-insightful-elixir-logging-with-logger-metadata/“>a blog post on how to improve your logging & debugging experience with Logger’s metadata</a>.
A Sneak Peek at Elixir 1.10
It’s already the middle of November, and that means that before you know it, January will be here - and January means time for a new version of Elixir! There have been some really cool things going on in Elixir development over the last few months, and today I’m going to go over some of my favorites that have landed on master so far.
A More Type-Driven Elixir Workflow? Maybe
Let’s see how Dialyzer can help us ensure correctness of our types, by exploring how we could model an optional value of a struct field.
https://well-ironed.com/articles/a-more-type-driven-elixir-workflow-maybe/
Running in Production Podcast 001: Using Phoenix at a Medical University with Gabriel Robertson (OvermindDL1)
In this episode of Running in Production, Gabriel Robertson talks about how he uses Phoenix and Elixir to build and deploy an ever changing internal web application that medical University employees, health officials and students use to access various systems and resources.
ElixirMix Podcast 077: Elixir at PepsiCo eCommerce with Jason Fertel
In this episode of ElixirMix, we talk with Jason Fertel about how Elixir is used at PepsiCo. We discuss his ElixirConf sponsor presentation, solving supply chain management with Elixir, how using Elixir had a positive effect on hiring, their tech stack, and much more!
Lexers and Parsers: Letting Business Write Business Logic
Using Erlangs built-in lexing and parsing libraries we can easily define restricted and safe grammars that will let your business team define simple rules in your system. Essentially offloading arbitrary business logic to the business team themselves.
https://by.ben.church/Lexers-and-Parsers:-Letting-Business-Write-Business-Logic
Phoenix LiveView Tutorial, Part 2: Bootstrap Your Messenger App
In the latest episode of our Modern Talking with Elixir series, Michał explains how to create DB structure and first LiveView pages for a Messenger app.
There is an overview of Ecto schemas behind the app’s data model, and essential LiveView callbacks are explained on a practical example.
The Primitives of Phoenix LiveView
The Primitives of Phoenix LiveView
This episode is focused on LiveView’s primitives, exploring the necessary bricks to build an app with this technology. A special look at what happens behind the scenes, understanding the Life-cycle while inspecting websocket messages and DOM updates.
Using Nested Phoenix Templates
In this episode we’ll look at how to precompile Phoenix templates in nested directories.
https://elixircasts.io/how-to-create-nested-phoenix-templates
Caching with Elixir and ETS
Get started using ETS as a caching mechanism in your Elixir applications and pick up some useful tips and tricks.
https://blog.appsignal.com/2019/11/12/caching-with-elixir-and-ets.html
Highlights from the Big Elixir 2019
We had a great time at the Big Elixir – check out our recap for highlights on some of our favorite talks and moments from the conference.
https://blog.smartlogic.io/highlights-from-the-big-elixir-2019/
Broadway, RabbitMQ, and the Rise of Elixir Part 1
In this blog post I cover how to setup RabbitMQ along side Broadway to create a powerful yet simple data processing pipeline. Check out Part 1!
https://akoutmos.com/post/broadway-rabbitmq-and-the-rise-of-elixir/
Introducing fast_html
After 2 years of great service from HtmlSanitizeEx in Pleroma, we started to work on a faster HTML sanitization engine because people were doing things like making multi-megabyte posts which HtmlSanitizeEx has had problems handling.
The first part of this work was released for the general public today as the fast_html module, a C-Node which wraps the Myhtml library.
Elixir users may be familiar with Myhtmlex, another module which wraps the Myhtml library as a NIF or C-node, but fast_html was forked and rewritten from the ground up to be as performant a C-node as possible.
In most synthetic benchmarks, fast_html outperforms both the Myhtmlex and html5ever NIFs and uses the newer ei
library over the legacy erl_interface
one.
How to use data spanning multiple data sources in Elixir
We use Ecto to talk to our databases, which is the de facto standard in Elixir. In this post, we’re going to focus on advanced usage of one of its features: “preloading” of the related data.
https://rekki.dev/how-to-use-data-spanning-multiple-data-sources-in-elixir-50f39c87d8fc
Adopting Elixir at FindHotel
Elixir is the “new kid on the block” in Findhotel’s tech stack. I explain why we decided to use Elixir at FindHotel and how we approached its adoption.
https://blog.findhotel.net/2019/11/adopting-elixir-at-findhotel
Intro to Phoenix LiveView for web developers who don't know Elixir
Should it be a Multi Page App or a Single Page App?
Multi Page Apps are relatively simple, but you’re limited in what you can achieve.
Single Page Apps allow you to build a much richer UX, but you pay for it in terms of increased complexity and lower productivity.
It would be nice if there was an option that allowed you to build a rich UX, without all the complexity associated with Single Page Apps, right?
Well, that’s exactly what Phoenix LiveView offers.
Want to learn more about Phoenix LiveView?
Checkout my new screencast which provides an introduction to LiveView for web developers who don’t know Elixir. (If you do know Elixir, I think you’ll still find this video helpful)
Elixir Trickery: Using Macros & Metaprogramming Without Superpowers
Metaprogramming sounds scary, but in Elixir you don’t need supernatural powers to use it to great success. Read Michał’s article at Curiosum.dev to learn about how macros work & see some useful macro writing techniques.
Using Dataloder.KV to call APIs lazily
A short post on getting started with Dataloader.KV - example code included.