Showing comment counts on the index page

This is part of the Phoenix LiveView series, but nothing in this tutorial is related to LiveView.

It goes over how to get comment counts for each podcast (or blog post, etc) and show them on the listing page.

https://alchemist.camp/episodes/phoenix-comments-counts

The State of Elixir HTTP Clients

Take a deep dive into Elixir HTTP client libraries — Mint and Finch.

https://blog.appsignal.com/2020/07/28/the-state-of-elixir-http-clients.html

ThinkingElixir 006: Elixir at FontAwesome with Rob Madole

In episode 6 of Thinking Elixir, We talk with Rob Madole about Elixir at Font Awesome. We discuss their microsecond operations, training a team, tips on code reviews, finding talent, how they added OTP later and much more!

Podcast Episode

Headless CMS fun with Phoenix LiveView and Airtable (pt. 4)

Here’s the last part of my Headless CMS fun with Phoenix LiveView and Airtable series, where we implement an ETS cache for the content, which synchronizes periodically, and broadcasts changes to the live views.

http://codeloveandboards.com/blog/2020/07/27/headless-cms-fun-with-phoenix-liveview-and-airtable-pt-4/

Happy coding!

4th video in the series about building cryptocurrency trading bot in Elixir

4th video in the series about building cryptocurrency trading bot in Elixir - this time PubSub broadcasting

We will focus on getting PubSub up and running so we will be able to scale naive strategy to multiple traders as well as other processes in the future.

Link: https://youtu.be/oANXm71AUG0

Simple Phoenix LiveView App: planning comments

The site for the Reactor Podcast is finished and launched! Now, it’s time to look at what’s left to finish up the screencasts—adding a comment system!

This video shows what the finished site looks like and then go over what it will take to build out the commenting system. It’s more of a walk-through than a screencast.

https://alchemist.camp/episodes/phoenix-comments-planning

New Vapor DSL

I’ve recently released a new version of Vapor that includes a new DSL. This DSL which should make it even easier to create runtime configuration plans.

https://github.com/keathley/vapor#planner-dsl

How to download files from Google Drive using Elixir

The documentation around downloading a file from a Google Drive account is a bit spread out, so i figured i could make a mini tutorial on how to do this.

https://pedroassuncao.com/posts/how-to-download-files-from-google-drive-using-elixir

Generated Types II — Down the Rabbit Hole

New blog post unveiling the thorny path to Tyyppi — the library bringing erland types to elixir runtime as first class citizens.

Generated Types II — Down the Rabbit Hole.

It’s kinda sequel to Generated Types in which I started a journey into using erlang types in elixir runtime.

Deploy a Phoenix application on GCP compute engine

Deploy a release on GCP compute engine with Mix, docker, and GCP Compute Engine.

https://medium.com/@thomastrividic/deploy-a-phoenix-elixir-application-on-google-cloud-platform-compute-engine-c440c8c337ba?source=friends_link&sk=7aeda98073f3662cd22236ba2d9ddbad

definject - Unobtrusive Dependency Injector for Elixir

Just as OOP DI enables you to replace dependent objects, definject enables you to replace dependent function calls.

https://github.com/definject/definject

Deploying a Phoenix App With Dokku

This tutorial will walk you through deploying an Elixir + Phoenix + Ecto app using Dokku.

https://nithinbekal.com/posts/dokku-phoenix-deploy/

Using Plug.Router to Build a Simple App

Sometimes all you need is Plug.

https://elixircasts.io/plug.router

Elixir Outlaws - Strategically Planned Coffees

This week the hosts discuss business logic and how to think differently.

https://elixiroutlaws.com/78

Elixir/Phoenix deployments using Github Actions

One of the trickiest parts of getting Elixir services into production is the deployment. Common approaches include using Docker to generate containers that you can then deploy to AWS/Google/Azure, a Kubernetes cluster, or running the creation of the deployment locally (mix releases) and then publishing the finalised version to the target machine. For my website https://pedroassuncao.com i decided to go with a simpler approach…

https://medium.com/@noozo/elixir-phoenix-deployments-using-github-actions-ec4178ba5fb

Elixir Wizards S4E10 Lau Taarnskov on the Trouble with Time Zones

Latest episode of Elixir Wizards is out today! Check it out here: https://smartlogic.io/podcast/elixir-wizards/s4e10-taarnskov/

Tyyppi → bringing erlang typespecs to runtime

Welcome Tyyppi library that allows dealing with types in runtime, including but not limited to:

  • runtime check if this term is of that type with Tyyppi.of?/2, e. g. Tyyppi.of?(GenServer.on_start(), :ok) (it’s apparently not :))
  • apply the function providing its spec so that it returns {:ok, result} if and only if all the arguments and the result meet the specs, and {:error, {:arity | :args | :result, value}} otherwise
  • create a typed struct with generated complete detailed t() :: %…{…} type definition, type checks on upserts, and a possibility to cast values on upserts to the expected type (TBD).

Using Telemetry Effectively

I wrote up my thoughts on how library authors can use telemetry more effectively.

https://keathley.io/blog/telemetry-conventions.html

How I add auth to Phoenix LiveView apps

Phoenix LiveView is great for things like forms with validations. But for a new user form, you’ll probably want to log the user in as soon as they create an account.

This is a walk-through of how you can add user auth to a LiveView app using login tokens. The same strategy also works for logging in with “magic” forgot password links.

https://alchemist.camp/episodes/phoenix-live-view-auth

Simple Phoenix LiveView App: Upgrade LiveView to v0.12.1

This is episode #13 of a Phoenix LiveView series.

This time we’re upgrading LiveView from version 0.8.1 to 0.12.1 (with future proofing for v0.13), and getting both the main app and the throwaway /foo route working again.

https://alchemist.camp/episodes/phoenix-live-view-upgrade-0.12.1

Previous page Next page