Programming Phoenix LiveView (PragProg)

IO.inspect is great advice. I was very confused when using IO.puts - it showed both numbers were the same, and didn’t indicate their types.

Does anyone know which version of LiveView is used in the updated B8.0 version of the book, published a week ago?

1 Like

From the source code of the site it seems to be 0.17.5 for liveview and 1.6.2 for Phoenix.

5 Likes

Any idea when we can expect a new beta that covers LV 0.18+ along with Phoenix 1.7?

4 Likes

One of the authors, Sophie DeBenedetto, mentioned near the end of January that book’s next update will be at the end of February.

3 Likes

Heads up

2 Likes

Any info?

Not sure about another update (currently B8), but I’m pretty Sophie said the P1 (production release) of the book will be after we have LiveView hits 1.0, which will be in quite some time to be honest (which is understandable to be fair).

Any update?

The book’s co-author has revealed that a new version of the book is almost there, and it will likely be available very shortly (possibily next week). This new version will also include coverage of Phoenix 1.7, which is fantastic news for anyone interested in learning about this technology!

7 Likes

On product site:

Releases:

  • B9.0 2023/03/21
3 Likes

From PragProg email:

B9.0 Updates include:

This rewrite is our most extensive to date. Most of the changes are based on the new features in components, heex, tailwind.css, and generators.

  • Updated code to use recent versions of LiveView (0.18.x) and Phoenix (1.7).
  • Updated relevant chapters to reflect changes in these recent versions.
  • Updated chapters to use new calling style (HTML-style arguments passed into a single assigns attribute, and attr keywords.).
  • Added some basic tailwind discussion
  • Added Tailwind discussion, and used CoreComponents where possible.
  • Updated discussion on file uploads.
  • Updated code and prose with new included phx.auth.gen generators for liveview
  • Updated discussion on on_mount and live_session
  • Updates for verified routes and navigation
  • JavaScript client side events/hooks/scripts
  • Addressed errata.
11 Likes

Just purchased the book, thrilled to have it, thank you so much!

1 Like

A spotlight on @SophieDeBenedetto has just gone live on Devtalk!

Comment or ask a question in it to get a chance to win a copy of her book :023:

2 Likes

A spotlight with @redrapids has also just gone up on DT!

Comment or ask a question in it to get a chance to win a copy of any one of his books :023:

1 Like

What questions do you have for me?

1 Like

Looks like Margaret has already asked one I was going to ask! :lol: but I am sure I will have other questions for you when I’ve had a chance to read the Spotlight in full :blush:

There’s a new beta release.

B10.0 Release Notes:

  • Updated code to use recent versions of LiveView (0.19.0) and Phoenix (1.7.7).
  • More Tailwind styles
  • Updated discussions to include streams.
  • Revised Form syntax to reflect liveview 0.19 conventions
  • Introduced @form over @changeset
  • Revised layouts discussions
  • Updated heroicons from core components
8 Likes

Can anyone from PragProg give an update on the status of this book? I’d be interested to know if we’re close to the final release.

They are probably waiting Liveview to be 1.0 before making the final version…

1 Like