Authorization and Policy Scopes for Phoenix Apps
Find out how to implement quick and easy authorization for your Phoenix apps.
https://blog.appsignal.com/2021/11/02/authorization-and-policy-scopes-for-phoenix-apps.html
ThinkingElixir 071: LiveView and the 7-GUI Tasks with German Velasco
In episode 71 of Thinking Elixir, we catch up with German Velasco then talk about how he learned of the 7-GUI Tasks online challenge and how he wanted to see how LiveView could solve them. We talk about his ElixirConf presentation and how the idea of modeling state impacted his approaches to these problems. We go over what these common UI patterns are and how LiveView is able to approach them differently. We talk about Chris McCord’s idea of “Live Apps” and how LiveView really is different from what other languages and communities can do. We discuss using LiveView to implement UI patterns that it wasn’t designed for and how that process has gotten better over time and much more!
https://thinkingelixir.com/podcast-episodes/071-liveview-and-the-7-gui-tasks-with-german-velasco/
Deploying an Elixir Release using Docker on Fly.io
Deploy an Elixir Release to Fly.io with Docker
https://blog.miguelcoba.com/deploying-an-elixir-release-using-docker-on-flyio
Elixir Config and Environment Variables with Runtime Config
Learn how to set up Elixir config and environment variables in your Phoenix project using config/runtime.exs
introduced in Elixir v1.11.
SmartLogic ElixirConf 2021 Highlights
The SmartLogic team had such a great time at this month’s ElixirConf in Texas that we wrote a blog highlighting our favorite talks and moments. Now featuring video links (thanks Jim Freeze!) Check it out here: https://smartlogic.io/blog/elixirconf-2021-highlights
Deduplicating authentication and authorization tests in Phoenix using macros.
Have way too many (near-)duplicate authentication and authorization tests for Phoenix routes within your ExUnit test suite? Try test macros for deduplicating groups of tests with a single macro
call.
Replace templates generated by phoenix with surface
If you want to see the difference between the look of heex
templates and sface
then in this short post you can check it.
https://dev.to/dkuku/porting-files-generated-by-phoenix-to-surface-3eb3
Ecto Named Bindings in your queries
Positional bindings can be problematic due to the order when building large queries with many different functions.
Named bindings can be of great help in our challenges. It is not necessary to know the position to be able to refer to the variable.
More on: https://bartoszgorka.com/ecto-named-bindings-in-your-queries
Wrap your application in a BEAM Burrito!
We’ve just open sourced Burrito, a library that allows you to build and distribute cross-platform, command-line Elixir applications to environments without an installed Erlang runtime. https://github.com/burrito-elixir/burrito
Come work with us at Team Engine
We’re a small team building a web app for managing film and TV productions, used by major studios as well as indie productions based in the UK.
More info: https://tinyurl.com/engine-elixir-job-description2
ThinkingElixir 070: PardallMarkdown with Alfred Reinold Baudisch
In episode 70 of Thinking Elixir, after huge news, we talk with Alfred Reinold Baudisch about his project PardallMarkdown. It’s a reactive Elixir server that reads markdown files, compiles them to HTML, stores them in an ETS table, and serves them up. It’s a different take on serving markdown files for a blog. It can also be used as a wiki and supports deeply nested hierarchies. An interesting feature is it can be used as a library inside your own Phoenix application to provide blog posts or other “static” content.
https://thinkingelixir.com/podcast-episodes/070-pardallmarkdown-with-alfred-reinold-baudisch/
How to Use Macros in Elixir
Let’s dive into the various applications of macros in Elixir using open-source Elixir libraries.
https://blog.appsignal.com/2021/10/26/how-to-use-macros-in-elixir.html
You can in fact use schemas in migrations
A lot of times people discourage from using schemas in migrations but the problem is not schemas themselves.
Exception Monitoring for Elixir with Honeybadger
We published a guide on how to set up exception and error monitoring for your Elixir Phoenix application with Honeybadger. Honeybadger instantly notifies you when a user experiences any errors within your app. We set it up in development so you can see how error notifications work.
New Legendary Framework Features This Week: Object Storage Engine and Social Media Preview Images
Legendary just added an S3-lite Object Storage Engine, plus slick social media preview images for posts & pages this week.
Early Return in Elixir
A quick TIL post about using throw/catch to return early. https://dev.to/damonvjanis/early-return-in-elixir-4975
Why Elixir & Phoenix is a great choice for your web app in 2022
How to choose the best web programming language and framework for an app in 2022? Is it even possible? I believe it is, and in this blog post, I’ll try to convince you why Elixir & Phoenix is the perfect combination you’re looking for.
ThinkingElixir 069: Elixir on Mobile with Dominic Letz
In episode 69 of Thinking Elixir, we talk with Dominic Letz about running Elixir on an Android phone in an APK which hosts a LiveView application accessed through a WebView! All while also pursuing a Web 3.0 architecture of being decentralized! Wow! There’s a lot going on here! Oh, and the tech is OpenSource!
https://thinkingelixir.com/podcast-episodes/069-elixir-on-mobile-with-dominic-letz/
Deploying an Elixir Release using Docker on DigitalOcean
My guide to deploy an Elixir Release to DigitalOcean using Docker https://dev.to/miguelcoba/deploying-an-elixir-release-using-docker-on-digitalocean-17pg
Deploying an Elixir Release using Docker on DigitalOcean
My guide to deploy an Elixir Release to DigitalOcean using Docker https://dev.to/miguelcoba/deploying-an-elixir-release-using-docker-on-digitalocean-17pg