AstonJ
Programming Phoenix LiveView Book Club!
Welcome to our Programming Phoenix LiveView Book Club! ![]()
The book was recently updated for Phoenix 1.7 and LiveView 0.18 so we thought it was about time we had a book club on it!
The book cub is being led by @code-shoily and @mariusbutuc and participants are:
Everyone is welcome to join the book club or to simply comment on anything you find interesting ![]()
Trending in Discussions
As the title says, please share what you’ve been up to with Elixir. Whether that’s been learning it, looking into it, making stuff with i...
New
@chrismccord : I just saw the Extract AGENTS.md from Phoenix.new into phx.new generator commit to the phoenix project.
My initial shotgu...
New
I was working on an Ecto migration and I needed a timestamp. So, for the nth time, I looked up the different data types for timestamps, a...
New
Just a general thread to post chat/news/info relating to AI/ML stuff that may be relevant for Nx now or in the future. Got anything to sh...
New
I just stumbled on a newly redesigned elixir-lang.org. :tada: It looks like @Software_Mansion did the work, and I think it is generally a...
New
There has been a thread to discuss the Stack Overflow Developer Survey on this forum every year since 2018, so here’s yet another one for...
New
Fly’s CEO posted this recently - Turn And Face The Strange · The Fly Blog
It says that Fly is going all-in on sprites, which is a worry ...
New
Other Trending Topics
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve.
They are GUI (Emerge) and State management (S...
New
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
@hugobarauna and I (Alex Koutmos) have been hard at work on writing a book on Nerves that takes you from simply blinking LEDs to building...
New
There are three potential reasons for members of this forum to have a look at https://vutuv.de
You are tired or annoyed of LinkedIn.
Yo...
New
Latest Phoenix Threads
Chat & Discussions>Discussions
Latest on Elixir Forum
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #elixirconf-us
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #hex
- #performance










First 10 of 71 Posts
m4hi2
Hello everyone! Looking forward to mastering Live View with you all!
code-shoily
Hello everyone. I have not started reading yet. Got the flu
… Will do from the weekend if I fully recover by then 
This is the plan I have regarding how I’ll proceed with the reading
Will have a summary of a chapter once done, focusing on my thoughts, learnings and feeling about what I learned.
Since I am treating this as part of mg deep dive into LV, I will dig elsewhere in the web on topics related to the chapters I just read (i.e related articles, discussions, tutorials) so we can dive deeper and have good supplement per chapter
Aside from the ‘Pento’ app mentioned in the book, I will create a Playground like LV app where I will post snippets and share with y’all. Any aha moment Ot discoveries would be codified as snippets
That’s it. Also a reminder that there is an errata page on DevTalk and if you find any bugs or outdated information you know where to report and help the author.
I am looking forward to learning with you all. LiveView is a tech stack close to my heart and I am super excited to colearn it and brush up and strengthen my skills.
dr.a
Hi all.. I’ve made my way through to the “your turn” section where the reader is invited to complete the game. While the book has been relatively accessible to a :noob like myself, generating my own code feels like a step beyond my sphere of confidence. If anyone feels like sharing code or tips, you’d have an audience of at least me
ivanhercaz
Hi! I have curiosity: what is done in book club?
AstonJ
There are no hard or fast rules Iván, tho we generally encourage people to post at least one update per chapter, and welcome others to join in with the conversation when they encounter anything of interest
Check out our latest book clubs here: bookclubs and here are our older ones book-club
ivanhercaz
Oh! All right, with your explanation and looking the past bookclubs I already understand the idea. I will try to participate
Thank you, @AstonJ!
m4hi2
Are you stuck where the author asks you to complete the code so that the time updateswith each event trigger? If so, then in yourmount/3function add thetimekey with valuetime()likescoreandmessage. Then, inside the template, use@timeinstead oftime(). Update thehandle_event/3func as well, doing the same asmessageandscorefor time.Hope that helps.Please Note: I intentionally left the instructions a little vague, so that you have some room to explore.Sorry, just noticed there is a separate
Your Turnsection.m4hi2
I’m a little bit confused. With the exercise part, I’m having difficulties with
live_patch/3I’m getting this error:
I’m pulling the LiveView behaviour properly according to this post. still no luck.
Here’s the code if it helps.
cpgo
Did you generated a fresh phoenix project?
Just copied you
wrong_live.exand ran it on my project and it worked fineEdit: I forgot to mention that I already completed a few chapters, I think I skipped ahead a bit because I was curious on how to implement JS interop

Really liking it so far, but I wish it was possible to embed a LiveView on an existing “DeadView” to make it possible to slowly port some features to LiveView, maybe thats possible but I cant find a exact answer to this.
m4hi2
Yes, the pheonix project was generated fresh.