APNguyen

APNguyen

Programming Phoenix Liveview: v1.0 feedback

I just signed up for the forum to discuss the 1.0 version.

I don’t want to be a downer only a third of the way through the book, but I think so far working through it with Phoenix 1.8.5, a lot of the writing doesn’t seem to be fully updated to match the current generators. It seems more like certain paragraphs were added to cover changes, but the main body of writing is still referring to an older design for LV.

Most Liked

APNguyen

APNguyen

Yes. It’s page 114 through 133. Technically, paragraphs were added to acknowledge 1.8 updates, but there’s still parts on push_patch that aren’t reflected in the current generator anymore.

EDIT: Reading forward, I see a section telling me to use .simple_form which is no longer in core components.

bfar

bfar

Another example would be in Chapter 3 on p84 the changeset example showing product.ex requires a user_scope to be passed in but the example in “Test Drive the Schema” showing the usage within IEX does not show the establishment of the session nor includes it in the creation of the sample changeset shown on p85.

kjoehlers

kjoehlers

There are actually a number of errors in the the ‘Final Edition’ most are pretty easy to get around but I have just started in Chapter 3 and there seems to be a mix both of generator versions and actual data used. Using Phoenix 1.8.5 there appear to be are versions of the product table which have a user_id column and versions that don’t. Also when following the steps in the book the resulting functions do not include a changeset/2 the closest is a changeset/3 which referenced the user_scope. This is very frustrating and hopefully will be addressed in a new edition. I tried changing to an earlier version to see if that would resolve the problems and it does to some extent but it results in some aspects of the book, so far, not making sense.

Where Next?

Popular Pragmatic Bookshelf topics Top

New
jeffmcompsci
Title: Design and Build Great Web APIs - typo “https://company-atk.herokuapp.com/2258ie4t68jv” (page 19, third bullet in URL list) Typo:...
New
jamis
The following is cross-posted from the original Ray Tracer Challenge forum, from a post by garfieldnate. I’m cross-posting it so that the...
New
Alexandr
Hi everyone! There is an error on the page 71 in the book “Programming machine learning from coding to depp learning” P. Perrotta. You c...
New
simonpeter
When I try the command to create a pair of migration files I get an error. user=> (create-migration "guestbook") Execution error (Ill...
New
edruder
I thought that there might be interest in using the book with Rails 6.1 and Ruby 2.7.2. I’ll note what I needed to do differently here. ...
New
JohnS
I can’t setup the Rails source code. This happens in a working directory containing multiple (postgres) Rails apps. With: ruby-3.0.0 s...
New
brian-m-ops
#book-python-testing-with-pytest-second-edition Hi. Thanks for writing the book. I am just learning so this might just of been an issue ...
New
brunogirin
When trying to run tox in parallel as explained on page 151, I got the following error: tox: error: argument -p/–parallel: expected one...
New
creminology
Skimming ahead, much of the following is explained in Chapter 3, but new readers (like me!) will hit a roadblock in Chapter 2 with their ...
New

Other popular topics Top

PragmaticBookshelf
Machine learning can be intimidating, with its reliance on math and algorithms that most programmers don't encounter in their regular wor...
New
dasdom
No chair. I have a standing desk. This post was split into a dedicated thread from our thread about chairs :slight_smile:
New
mafinar
This is going to be a long an frequently posted thread. While talking to a friend of mine who has taken data structure and algorithm cou...
New
New
hilfordjames
There appears to have been an update that has changed the terminology for what has previously been known as the Taskbar Overflow - this h...
New
New
AnfaengerAlex
Hello, I’m a beginner in Android development and I’m facing an issue with my project setup. In my build.gradle.kts file, I have the foll...
New
AstonJ
Curious what kind of results others are getting, I think actually prefer the 7B model to the 32B model, not only is it faster but the qua...
New
NewsBot
Node.js v22.14.0 has been released. Link: Release 2025-02-11, Version 22.14.0 'Jod' (LTS), @aduh95 · nodejs/node · GitHub
New
mindriot
Ok, well here are some thoughts and opinions on some of the ergonomic keyboards I have, I guess like mini review of each that I use enoug...
New

Sub Categories: