Programming Phoenix LiveView Book Club!

Hello all,

I’m new to Elixir and Phoenix. I’m also early in my career as a developer. I got the book a few weeks ago and this book club inspired me to really start cracking into it!

Here’s what I’ve got for Chapter 1 (B0.9.0)

:drum: :drum: :drum: :drum: Chapter 1 Awards :drum: :drum: :drum: :drum:

  • :open_book: Most Rereadable Section :open_book:
    Build a Simple Live View (pp. 15-23)
    As a relatively new Phoenix/Elixir user, it was helpful for me to read this section several times. The subsection titled Understand the LiveView Loop was most valuable to me. It removed some of the magic and gave me a better understanding of the importance of event handlers. I’m sure that some of the other sections will become more valuable for me to reread as I continue to learn.

  • :rabbit2: Most Likely to Send You Down The Rabbit Hole :rabbit2:
    Examine Network Traffic (pp. 24-25)
    This section got me excited to learn about the data diffs being sent over the wire. I really liked how it encouraged you to actually open up your browser tools and look at the small footprint of the traffic. I read a previous forum post[1] and the the Phoenix.Socket.Message API[2] to help me dig deeper into understanding the network traffic.

    ["4","5","lv:phx-1YfONAIF",
    "event",{"type":"click","event":"guess",
    "value":{"number":"8"}}]
    

    Where I believe that:

    • β€œ4” is the join_ref
    • β€œ5” is the ref
    • β€œlv:phx-1Y…” is the topic

Great book and thank you for hosting this club!

[1] Shape of Phoenix Channel socket messages - #2 by kartheek
[2] Phoenix.Socket.Message β€” Phoenix v1.7.2

5 Likes