json_stream_encoder v0.2.0

I’ve released JSON Stream Encoder 0.2.0.

It marks a major improvement: moving from Poison to Jason as the encoding engine.

If you need a way to encode large amounts of JSON directly to an IO with constant memory usage, check it out at:

ThinkingElixir 088: Phoenix Debug Toolbar and LiveView Forms with Michael Crumm

In episode 88 of Thinking Elixir, we talk with Michael Crumm, the primary author of the Phoenix Live Dashboard, about a new project of his. He is working on a development toolbar that is rendered on your pages and helps profile performance, expose route info, show crash info and more. It’s called PhoenixProfiler and it ties into Telemetry events for data. While still early, it can be a great tool for teams. We also talk about another goal of his, to improve working with forms in LiveView!

https://podcast.thinkingelixir.com/88

Creating Your Own Ueberauth Strategy

Learn how to create your own simple Ueberauth Strategy for any OAuth application inside you Phoenix application.

https://dev.to/talk2megooseman/creating-your-own-ueberauth-strategy-3351

Real World Phoenix - 69 open source Phoenix apps in one git repo

Learn from the source code of real Phoenix apps written by experienced developers. Just clone the repo and you’ll find them in the apps/ folder as git submodules. https://github.com/szTheory/real-world-phoenix

Using Ecto changesets for JSON API request parameter validation

How to use Ecto.Changeset beyond the database context, and use it for API request parameter validation and translatable error messages as well.

https://dev.to/martinthenth/using-ecto-changesets-for-json-api-request-parameter-validation-3po

Server & Client Side Forms Validations With [Elixir, Phoenix, LiveView and Tailwind CSS | No Javascript]

Learn how to use Elixir/Phoenix to validate forms on the client and server-side, no Javascript code is needed thanks to the LiveView library, Tailwind CSS is going to be used for the user interface.

Check it Out

Elixir, Telemetry, and Prometheus

Here is my third article in the series “Elixir Telemetry”:

“Elixir, Telemetry, and Prometheus”

Want to know how you can expose your @elixirlang telemetry to @PrometheusIO?

Learn it here:

https://blog.miguelcoba.com/elixir-telemetry-and-prometheus

Testing Singleton Processes with Dependency Injection

Named singleton processes are wonderful for Elixir applications, but they often make it hard to test their behavior. Since singletons are started as part of the supervision tree, they become a globally shared resource for our tests. And that can lead to intermittently failing tests due to race conditions. This is my usual approach to testing them.

https://www.germanvelasco.com/blog/testing-singleton-processes-with-dependency-injection

ThinkingElixir 087: Reviewing Elixir with José Valim - Part 2

In episode 87 of Thinking Elixir, José Valim returns to continue with part 2 of our 5 part series as we count down to the 10 year anniversary of the Elixir project we know and love. In Part 2, we talk through the Elixir releases of 1.4, 1.5, and 1.6. We still manage to sneak in discussions about some new things in Elixir 1.13 and the upcoming release. We go deeper on GenStage, Registry, and growing up through production releases. We also learn about the history with unicode while touching on the recent unicode security issues that hit everywhere. We get some behind the scenes insights about the Elixir formatter and the complex logic required to bring ExUnit’s pretty diff features, and more!

https://podcast.thinkingelixir.com/87

Macro Madness - when busting boilerplate backfires

A tour of a livebook that introduces Elixir macros, and some pitfalls discovered when trying to use macros to reduce boilerplate.

https://www.youtube.com/watch?v=Y-1xhtVz-B4

Managing business rules in Elixir applications - Qiu Hua

Qiu talks about some work he has done to extract the business rules out of code, and, most importantly, enable changes to those business rules as easily as possible.

https://www.youtube.com/watch?v=Cy6sci212Tw

phx_component_helpers 1.0.0

phx_component_helpers is a library to make your Phoenix LiveView components more configurable and extensible from your HEEX templates.

It’s now available in 1.0.0 🔥

https://github.com/cblavier/phx_component_helpers

Functional Programming in Elixir with Witchcraft

Find out how you can use the Witchcraft library to do Haskell-style programming in Elixir.

https://blog.appsignal.com/2022/02/08/functional-programming-in-elixir-with-witchcraft.html

Elixir tap and then macros - life-saving helpers

Elixir 1.12 introduced two very useful macros. They can be life savings helpers in your codebase. Instead of write extra functions, you can have nice logging and executing actions based on given data.

Check on: https://bartoszgorka.com/elixir-tap-and-then-macros-life-saving-helpers

Quick migration from LEEx to HEEx

Since Phoenix LiveView 0.16 has brought new HEEx templates (and LEEx are going to be deprecated), you may come across issues during migration.

https://latuszewski.appunite.com/post/quick-migration-from-leex-to-heex

ThinkingElixir 086: SavvyCal and Indie SaaS with Derrick Reimer

In episode 86 of Thinking Elixir, we talk with Derrick Reimer about his product SavvyCal. He used Elixir as a solo dev to create a service that can take on an 800lb gorilla like Calendly. He shares what competitive advantages he feels he has both from Elixir but also in being more nimble. We also talk about creating a company as an independent, solo developer and how that can work. Derrick shares some tips and resources that were helpful for him on his journey. We feel the PETAL stack positions Elixir developers well for optionally taking that Indie path if desired. Check it out! Lots of nuggets here!

https://podcast.thinkingelixir.com/86

How To Build a [Counter with Elixir, Phoenix, LiveView and Tailwind CSS] | No Javascript

Learn how to use Elixir/Phoenix, to create a counter without javascript, only using Elixir with the help of Phoenix LiveView, and Tailwind CSS for the user interface.

Check it Out

LiveView feels faster with a delayed loading indicator

I love LiveView. Navigating between views is so fast! This quick tip makes navigating feel instantaneous by adding a split-second delay before showing the progress bar. Such simple change makes a big difference!

https://fly.io/phoenix-files/make-your-liveview-feel-faster/

Oban v2.11, Pro v0.10, and Web v2.9 Released

This bundle of releases focuses on minimizing resource usage and matriculating features from Pro back into Oban. In the release announcement you’ll learn about centralized leadership, the PG notifier, safety focused plugins, the new Pro worker, and DynamicQueues!

https://getoban.pro/articles/oban-2-11-pro-0-10-web-2-9-released

Telemetry and Metrics in Elixir

My new article in the telemetry series is out.

“Elixir, Telemetry, and Prometheus”

I show you how to expose your @elixirlang telemetry data and scrap it with @PrometheusIO

https://blog.miguelcoba.com/telemetry-and-metrics-in-elixir

Previous page Next page