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
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
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
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.
Popular Pragmatic Bookshelf topics
Other popular topics
Categories:
Sub Categories:
Popular Portals
- /elixir
- /rust
- /wasm
- /ruby
- /erlang
- /phoenix
- /keyboards
- /python
- /js
- /rails
- /security
- /go
- /swift
- /vim
- /clojure
- /java
- /emacs
- /haskell
- /svelte
- /onivim
- /typescript
- /kotlin
- /c-plus-plus
- /crystal
- /tailwind
- /react
- /gleam
- /ocaml
- /elm
- /flutter
- /vscode
- /ash
- /html
- /opensuse
- /zig
- /deepseek
- /centos
- /php
- /scala
- /react-native
- /lisp
- /sublime-text
- /textmate
- /nixos
- /debian
- /agda
- /django
- /deno
- /kubuntu
- /arch-linux
- /nodejs
- /spring
- /ubuntu
- /revery
- /manjaro
- /lua
- /julia
- /diversity
- /markdown
- /quarkus









