Listen "160: LiveView Async Pattern and Admin Tools"
Episode Synopsis
After experience with a LiveView “anti-pattern”, Andy Glassman developed an “Async Pattern” for loading data into a LiveView. Andy shares the problem this helps solve and we discuss when it's a good fit. We also talk with Andy about the current state of “admin tools” in Elixir and he shares his feelings on the importance of building admin tools from the start in our projects.
Show Notes online - http://podcast.thinkingelixir.com/160 (http://podcast.thinkingelixir.com/160)
Elixir Community News
- https://twitter.com/josevalim/status/1678411790361718786 (https://twitter.com/josevalim/status/1678411790361718786?utm_source=thinkingelixir&utm_medium=shownotes) – A new Livebook version should have been released with a new “Presentation View” feature
- https://2023.elixirconf.com/presenters#speakers (https://2023.elixirconf.com/presenters#speakers?utm_source=thinkingelixir&utm_medium=shownotes) – List of speakers for ElixirConf US 2023 has been released along with their talk topics.
- https://paraxial.io/blog/app-audit (https://paraxial.io/blog/app-audit?utm_source=thinkingelixir&utm_medium=shownotes) – Inspecting Elixir Dependencies at Runtime for Security
- https://twitter.com/josevalim/status/1678536270664876033 (https://twitter.com/josevalim/status/1678536270664876033?utm_source=thinkingelixir&utm_medium=shownotes) – José Valim completed his live-coding work to load database results directly into Explorer dataframes with ADBC
- https://github.com/elixir-explorer/explorer/pull/648 (https://github.com/elixir-explorer/explorer/pull/648?utm_source=thinkingelixir&utm_medium=shownotes) – ADBC work resulted in a PR
- https://twitter.com/mitchhanberg/status/1676611642786820096 (https://twitter.com/mitchhanberg/status/1676611642786820096?utm_source=thinkingelixir&utm_medium=shownotes) – Mitch Hanberg announced the first public release of Next LS and an elixir-tools update.
- https://www.elixir-tools.dev/news/introducing-next-ls-and-an-elixir-tools-update/ (https://www.elixir-tools.dev/news/introducing-next-ls-and-an-elixir-tools-update/?utm_source=thinkingelixir&utm_medium=shownotes) – To get started with Next LS, either install the “Elixir Tools” NeoVim extension or the “Elixir Tools” VSCode extension.
- https://twitter.com/joao_lubien/status/1676983495476891648 (https://twitter.com/joao_lubien/status/1676983495476891648?utm_source=thinkingelixir&utm_medium=shownotes) – Lubien wrote a mix task to turn any Phoenix Site into a static site.
- https://github.com/lubien/single-file-phoenix-static/blob/main/lib/mix/tasks/generate_static.ex (https://github.com/lubien/single-file-phoenix-static/blob/main/lib/mix/tasks/generate_static.ex?utm_source=thinkingelixir&utm_medium=shownotes) – Lubien's example mix task
- https://tylerayoung.com/2023/07/08/hiring-elixir-devs/ (https://tylerayoung.com/2023/07/08/hiring-elixir-devs/?utm_source=thinkingelixir&utm_medium=shownotes) – Tyler Young wrote a blog post with tips for companies wanting to hire Elixir devs.
- https://twitter.com/TylerAYoung/status/1677635466990874626 (https://twitter.com/TylerAYoung/status/1677635466990874626?utm_source=thinkingelixir&utm_medium=shownotes) – Tyler's Twitter thread
- https://johnelmlabs.com/posts/magic-link-auth/ (https://johnelmlabs.com/posts/magic-link-auth/?utm_source=thinkingelixir&utm_medium=shownotes) – John Curran wrote up a nice guide for how to build the “magic link” feature into mix gen.auth generated code
- https://link.springer.com/article/10.1007/s10664-023-10343-6 (https://link.springer.com/article/10.1007/s10664-023-10343-6?utm_source=thinkingelixir&utm_medium=shownotes) – Paper about Elixir was submitted to the Empirical Software Engineering journal titled “Understanding code smells in Elixir functional language”
- https://twitter.com/peregrine/status/1676984142251081728 (https://twitter.com/peregrine/status/1676984142251081728?utm_source=thinkingelixir&utm_medium=shownotes) – Jason Stiebs wrote a post about how “Elixir Docs are Built Different”
- https://fly.io/phoenix-files/elixir-docs-are-built-different/ (https://fly.io/phoenix-files/elixir-docs-are-built-different/?utm_source=thinkingelixir&utm_medium=shownotes) – Article that guides people on using the Elixir docs.
Do you have some Elixir news to share? Tell us at @ThinkingElixir (https://twitter.com/ThinkingElixir) or email at [email protected] (mailto:[email protected])
Discussion Resources
- https://blog.andyglassman.com/2023/06/phoenix-liveview-async-assign-pattern.html (https://blog.andyglassman.com/2023/06/phoenix-liveview-async-assign-pattern.html?utm_source=thinkingelixir&utm_medium=shownotes) – Phoenix Live View - Async Assigns
- https://blog.andyglassman.com/2022/08/write-admin-tools-from-day-one.html (https://blog.andyglassman.com/2022/08/write-admin-tools-from-day-one.html?utm_source=thinkingelixir&utm_medium=shownotes) – Write Admin Tools From Day One
- https://sway.dm/info/ (https://sway.dm/info/?utm_source=thinkingelixir&utm_medium=shownotes)
- https://www.empex.co/new-york (https://www.empex.co/new-york?utm_source=thinkingelixir&utm_medium=shownotes)
- https://github.com/aesmail/kaffy (https://github.com/aesmail/kaffy?utm_source=thinkingelixir&utm_medium=shownotes)
- https://www.youtube.com/watch?v=3c9kMmxeSA0 (https://www.youtube.com/watch?v=3c9kMmxeSA0?utm_source=thinkingelixir&utm_medium=shownotes) – Andy Glassman - Write Admin Tools from Day One (EMPEX)
- https://github.com/pragdave/earmark (https://github.com/pragdave/earmark?utm_source=thinkingelixir&utm_medium=shownotes)
- https://activeadmin.info/ (https://activeadmin.info/?utm_source=thinkingelixir&utm_medium=shownotes)
- https://github.com/ash-project/ash_admin (https://github.com/ash-project/ash_admin?utm_source=thinkingelixir&utm_medium=shownotes)
- https://www.postman.com/collection/ (https://www.postman.com/collection/?utm_source=thinkingelixir&utm_medium=shownotes)
Guest Information
- https://twitter.com/a_glassman (https://twitter.com/a_glassman?utm_source=thinkingelixir&utm_medium=shownotes) – on Twitter
- https://github.com/aglassman/ (https://github.com/aglassman/?utm_source=thinkingelixir&utm_medium=shownotes) – on Github
- https://blog.andyglassman.com/ (https://blog.andyglassman.com/?utm_source=thinkingelixir&utm_medium=shownotes) – Blog
Find us online
- Message the show - @ThinkingElixir (https://twitter.com/ThinkingElixir)
- Message the show on Fediverse - @[email protected] (https://genserver.social/ThinkingElixir)
- Email the show - [email protected] (mailto:[email protected])
- Mark Ericksen - @brainlid (https://twitter.com/brainlid)
- Mark Ericksen on Fediverse - @[email protected] (https://genserver.social/brainlid)
- David Bernheisel - @bernheisel (https://twitter.com/bernheisel)
- David Bernheisel on Fediverse - @[email protected] (https://genserver.social/dbern)
- Cade Ward - @cadebward (https://twitter.com/cadebward)
- Cade Ward on Fediverse - @[email protected] (https://genserver.social/cadebward)
Show Notes online - http://podcast.thinkingelixir.com/160 (http://podcast.thinkingelixir.com/160)
Elixir Community News
- https://twitter.com/josevalim/status/1678411790361718786 (https://twitter.com/josevalim/status/1678411790361718786?utm_source=thinkingelixir&utm_medium=shownotes) – A new Livebook version should have been released with a new “Presentation View” feature
- https://2023.elixirconf.com/presenters#speakers (https://2023.elixirconf.com/presenters#speakers?utm_source=thinkingelixir&utm_medium=shownotes) – List of speakers for ElixirConf US 2023 has been released along with their talk topics.
- https://paraxial.io/blog/app-audit (https://paraxial.io/blog/app-audit?utm_source=thinkingelixir&utm_medium=shownotes) – Inspecting Elixir Dependencies at Runtime for Security
- https://twitter.com/josevalim/status/1678536270664876033 (https://twitter.com/josevalim/status/1678536270664876033?utm_source=thinkingelixir&utm_medium=shownotes) – José Valim completed his live-coding work to load database results directly into Explorer dataframes with ADBC
- https://github.com/elixir-explorer/explorer/pull/648 (https://github.com/elixir-explorer/explorer/pull/648?utm_source=thinkingelixir&utm_medium=shownotes) – ADBC work resulted in a PR
- https://twitter.com/mitchhanberg/status/1676611642786820096 (https://twitter.com/mitchhanberg/status/1676611642786820096?utm_source=thinkingelixir&utm_medium=shownotes) – Mitch Hanberg announced the first public release of Next LS and an elixir-tools update.
- https://www.elixir-tools.dev/news/introducing-next-ls-and-an-elixir-tools-update/ (https://www.elixir-tools.dev/news/introducing-next-ls-and-an-elixir-tools-update/?utm_source=thinkingelixir&utm_medium=shownotes) – To get started with Next LS, either install the “Elixir Tools” NeoVim extension or the “Elixir Tools” VSCode extension.
- https://twitter.com/joao_lubien/status/1676983495476891648 (https://twitter.com/joao_lubien/status/1676983495476891648?utm_source=thinkingelixir&utm_medium=shownotes) – Lubien wrote a mix task to turn any Phoenix Site into a static site.
- https://github.com/lubien/single-file-phoenix-static/blob/main/lib/mix/tasks/generate_static.ex (https://github.com/lubien/single-file-phoenix-static/blob/main/lib/mix/tasks/generate_static.ex?utm_source=thinkingelixir&utm_medium=shownotes) – Lubien's example mix task
- https://tylerayoung.com/2023/07/08/hiring-elixir-devs/ (https://tylerayoung.com/2023/07/08/hiring-elixir-devs/?utm_source=thinkingelixir&utm_medium=shownotes) – Tyler Young wrote a blog post with tips for companies wanting to hire Elixir devs.
- https://twitter.com/TylerAYoung/status/1677635466990874626 (https://twitter.com/TylerAYoung/status/1677635466990874626?utm_source=thinkingelixir&utm_medium=shownotes) – Tyler's Twitter thread
- https://johnelmlabs.com/posts/magic-link-auth/ (https://johnelmlabs.com/posts/magic-link-auth/?utm_source=thinkingelixir&utm_medium=shownotes) – John Curran wrote up a nice guide for how to build the “magic link” feature into mix gen.auth generated code
- https://link.springer.com/article/10.1007/s10664-023-10343-6 (https://link.springer.com/article/10.1007/s10664-023-10343-6?utm_source=thinkingelixir&utm_medium=shownotes) – Paper about Elixir was submitted to the Empirical Software Engineering journal titled “Understanding code smells in Elixir functional language”
- https://twitter.com/peregrine/status/1676984142251081728 (https://twitter.com/peregrine/status/1676984142251081728?utm_source=thinkingelixir&utm_medium=shownotes) – Jason Stiebs wrote a post about how “Elixir Docs are Built Different”
- https://fly.io/phoenix-files/elixir-docs-are-built-different/ (https://fly.io/phoenix-files/elixir-docs-are-built-different/?utm_source=thinkingelixir&utm_medium=shownotes) – Article that guides people on using the Elixir docs.
Do you have some Elixir news to share? Tell us at @ThinkingElixir (https://twitter.com/ThinkingElixir) or email at [email protected] (mailto:[email protected])
Discussion Resources
- https://blog.andyglassman.com/2023/06/phoenix-liveview-async-assign-pattern.html (https://blog.andyglassman.com/2023/06/phoenix-liveview-async-assign-pattern.html?utm_source=thinkingelixir&utm_medium=shownotes) – Phoenix Live View - Async Assigns
- https://blog.andyglassman.com/2022/08/write-admin-tools-from-day-one.html (https://blog.andyglassman.com/2022/08/write-admin-tools-from-day-one.html?utm_source=thinkingelixir&utm_medium=shownotes) – Write Admin Tools From Day One
- https://sway.dm/info/ (https://sway.dm/info/?utm_source=thinkingelixir&utm_medium=shownotes)
- https://www.empex.co/new-york (https://www.empex.co/new-york?utm_source=thinkingelixir&utm_medium=shownotes)
- https://github.com/aesmail/kaffy (https://github.com/aesmail/kaffy?utm_source=thinkingelixir&utm_medium=shownotes)
- https://www.youtube.com/watch?v=3c9kMmxeSA0 (https://www.youtube.com/watch?v=3c9kMmxeSA0?utm_source=thinkingelixir&utm_medium=shownotes) – Andy Glassman - Write Admin Tools from Day One (EMPEX)
- https://github.com/pragdave/earmark (https://github.com/pragdave/earmark?utm_source=thinkingelixir&utm_medium=shownotes)
- https://activeadmin.info/ (https://activeadmin.info/?utm_source=thinkingelixir&utm_medium=shownotes)
- https://github.com/ash-project/ash_admin (https://github.com/ash-project/ash_admin?utm_source=thinkingelixir&utm_medium=shownotes)
- https://www.postman.com/collection/ (https://www.postman.com/collection/?utm_source=thinkingelixir&utm_medium=shownotes)
Guest Information
- https://twitter.com/a_glassman (https://twitter.com/a_glassman?utm_source=thinkingelixir&utm_medium=shownotes) – on Twitter
- https://github.com/aglassman/ (https://github.com/aglassman/?utm_source=thinkingelixir&utm_medium=shownotes) – on Github
- https://blog.andyglassman.com/ (https://blog.andyglassman.com/?utm_source=thinkingelixir&utm_medium=shownotes) – Blog
Find us online
- Message the show - @ThinkingElixir (https://twitter.com/ThinkingElixir)
- Message the show on Fediverse - @[email protected] (https://genserver.social/ThinkingElixir)
- Email the show - [email protected] (mailto:[email protected])
- Mark Ericksen - @brainlid (https://twitter.com/brainlid)
- Mark Ericksen on Fediverse - @[email protected] (https://genserver.social/brainlid)
- David Bernheisel - @bernheisel (https://twitter.com/bernheisel)
- David Bernheisel on Fediverse - @[email protected] (https://genserver.social/dbern)
- Cade Ward - @cadebward (https://twitter.com/cadebward)
- Cade Ward on Fediverse - @[email protected] (https://genserver.social/cadebward)
More episodes of the podcast Thinking Elixir Podcast
283: Erlang Turns 27 and React at Risk
16/12/2025
282: Type Systems and View Transitions
09/12/2025
281: Planning for the Unexpected
02/12/2025
280: Dark Matter Developers
25/11/2025
279: Hot Code Upgrades and Hotter AI Takes
18/11/2025
278: WAL-ing Through Database Changes
11/11/2025
277: Searching Across the Hexiverse
04/11/2025
276: Elixir v1.19 Types and Speed
28/10/2025
275: From Slop to Success?
21/10/2025
274: Protocols, Permissions, and Performance
14/10/2025
ZARZA We are Zarza, the prestigious firm behind major projects in information technology.