AstonJ

AstonJ

Welcome to our Programming Phoenix LiveView Book Club! :048:

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 :023:

Showing Posts 1 to 10

m4hi2

m4hi2

Hello everyone! Looking forward to mastering Live View with you all! :smile:

code-shoily

code-shoily

Hello everyone. I have not started reading yet. Got the flu :flushed: … Will do from the weekend if I fully recover by then :crossed_fingers:

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. :hugs:

dr.a

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 :smiling_face:

ivanhercaz

ivanhercaz

Hi! I have curiosity: what is done in book club? :face_without_mouth:

AstonJ

AstonJ OP

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 :smiley:

Check out our latest book clubs here: bookclubs and here are our older ones book-club :023:

ivanhercaz

ivanhercaz

Oh! All right, with your explanation and looking the past bookclubs I already understand the idea. I will try to participate :heavy_heart_exclamation:

Thank you, @AstonJ!

m4hi2

m4hi2

Are you stuck where the author asks you to complete the code so that the time updates with each event trigger? If so, then in your mount/3 function add the time key with value time() like score and message. Then, inside the template, use @time instead of time(). Update the handle_event/3 func as well, doing the same as message and score for 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 Turn section. :frowning:

m4hi2

m4hi2

I’m a little bit confused. With the exercise part, I’m having difficulties with live_patch/3
I’m getting this error:

warning: Routes.live_path/2 is undefined (module Routes is not available or is yet to be defined)
  lib/pento_web/live/wrong_live.ex:46

I’m pulling the LiveView behaviour properly according to this post. still no luck.

Here’s the code if it helps.

cpgo

cpgo

Did you generated a fresh phoenix project?
Just copied you wrong_live.ex and ran it on my project and it worked fine

Edit: 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
guess

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

m4hi2

Yes, the pheonix project was generated fresh.

Where Next? Top

Trending in Discussions Top

AstonJ
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...
2977 94592 917
New
cblavier
Hey there, It’s been more than a year since we started using LiveView as our main UI library and building a whole library of UI componen...
New
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
heathen
Quite interesting article Google brought me. Didn’t find any mentions about it here. What do you think in general? Would you use togethe...
New
mhanberg
Hi everyone! The first release candidate for the Expert language server project is now available! We’ve published a press release detai...
New
axelson
Hi there! :wave: @frigidcode and I (but mostly him) have been running an Elixir Book club, we’re almost done with Designing Elixir Syste...
New
budgie
A little off-topic, but I feel like people here have a good head on their shoulders. I used to be quite good at making software. Was luc...
New

Other Trending Topics Top

GenericJam
Edit: 2026 May 15 - This post is archived. Mob is alive!! Main docs: mob v0.7.11 — Documentation A bit of explanation for the slightly c...
New
JesseHerrick
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
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
georgeguimaraes
Just published claude-code-elixir, a plugin marketplace for Claude Code with Elixir support. These are the plugins I’ve been using for my...
New
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews