Programming Phoenix LiveView (Pragmatic Bookshelf)
Most Active This Week
                          
                        
                        
                        Most Active This Month
                          
                        
                        
                                   
                        Most Active This Year
                          
                        
                        
                        
                On page 138, :timer.sleep(1000) is used in the server-side code to simulate latency. This would be a great place to introduce the client-...
              
            
            
          
              New
                Title: Name of book: Programming Phoenix LiveView 
Can you remove all those “zero width space” inside code block ? that unicode character...
              
            
            
          
              New
                The name chosen for the guess module is WrongLive - each time I see this, my brain fires up with the usual connotations of the word wrong...
              
            
            
          
              New
                On the second paragraph on the first page of chapter 3 reads: “The next two chapters will build a product catalog into our application”. ...
              
            
            
          
              New
                The render() function examples use ‘ ’ to add space between elements. The same thing could be achieved by adding the tailwind class ‘mt-1...
              
            
            
          
              New
                I think that this task is too ambiguous: 
“Build a component to render an HTML title, with a heading and a configurable message. Render t...
              
            
            
          
              New
Most Active Last Three Years
                          
                        
                        
                        
                In this - and subsequent - “Give it a try” sections, it would be very useful to have the answers, both to confirm whether we got it right...
              
            
            
          
              New
                I keep suggesting this book to people that want to learn Phoenix but never actually went through it myself. Today i picked the latest ver...
              
            
            
          
              New
                I would like to share my thoughts on working through chapter 10 (‘Test Your Live Views’): 
Because I worked through the previous exerci...
              
            
            
          
              New
                Please can we have this section added rather than: 
Our app doesn’t currently have a concept of “admin” users, and we’ll leave building ...
              
            
            
          
              New
                I would suggest recommending resetting ecto in test environment before running the tests. I was faced with 
** (Postgrex.Error) ERROR 42...
              
            
            
          
              New
                Could you please add a section on dynamically adding/removing one-to-many relationships on a form?  Eg: Product and ProductAttribute
              
            
            
          
              New
                Page 171 introduces the usage of an operator used in Ecto queries used to interpolate values. As explained by this Stack Overflow answer,...
              
            
            
          
              New
                Code snippet on page 138 contains a helper function assign_form/2 that isn’t used within the snippet itself; it’s used by the handle_even...
              
            
            
          
              New
                Hello, 
In chapter 10, Testing Your Live Views, the provided code is confusing. (Or I misread this passage) 
Example Code 
On page 295, w...
              
            
            
          
              New
                Before creating the pento database, the book instructs, 
First, make sure you have Postgres installed and running on localhost, accessib...
              
            
            
          
              New
                I have a suggestion: in the source code .zip file, could there be some .exs files of all commands to run in the terminal that chapter? 
C...
              
            
            
          
              New
                Page 191 shows two screenshots of helpful warning messages about faulty calls to function components. The book explains: 
The Elixir Lan...
              
            
            
          
              New
                The code example allows a year of birth to fall from 1900 through 2022: 
|> validate_inclusion(:year_of_birth, 1900..2022)
The book p...
              
            
            
          
              New
                In this section, at the point where it tells the reader to “Start up the server, log in, and point your browser at /promo… You should see...
              
            
            
          
              New
                The beginning of the “Use the Component” section instructs readers: 
Alias the component in SurveyLive by adding this line to the top you...
              
            
            
          
              New
Most Active Over Three Years
                          
                        
                        
                        
                Updating a product in the list is done this way in the book 
def handle_rating_created(
%{assigns: %{products: products}} = socket, updat...
              
            
            
          
              New
                This whole section is beautifully written. Clear, to the point overview of what we need to do, why we need to do it and how we are going ...
              
            
            
          
              New
                Forms on both pages contain this code user_id in hidden input field: 
<%= hidden_input f, :user_id %>
There could be beginners rea...
              
            
            
          
              New
                The book uses this code in the age group filter: 
<form phx-change="age_group_filter" phx-target="<%= @myself%>">
        <...
              
            
            
          
              New
                Drawing is done using stateless components that exist in separate modules. For example: 
# lib/pento_web/live/pento/board.ex
def render(a...
              
            
            
          
              New
                The LiveView Layers: The Modal Component 
The code generated using the mix phx.gen.live Accounts User users name:string is very different...
              
            
            
          
              New
                The text here could do with more explanation. It assumes a considerable amount of knowledge outside that covered so far in the book. If a...
              
            
            
          
              New
                “Stateless Components as Tiny Helpers” 
This is a great tip/explanation. It would be even better if placed right at the beginning of this...
              
            
            
          
              New
                P99: 
“def live_modal(socket, component, opts) do path = Keyword.fetch!(opts, :return_to) modal_opts = [ id: :modal, return_to: path, com...
              
            
            
          
              New
                P103: 
"The modal component markup adds a few LiveView bindings to listen for close events: phx-capture-click=“close”, phx-window-keydown...
              
            
            
          
              New
                P106: 
“Notice there’s an :id key, as well as a :component key that specifies…” 
This is a bit unclear - you appear to be referring to th...
              
            
            
          
              New
                “…Go ahead and add this logic to your template:…” 
It would be helpful to always have the pathname to the file being referred to (in this...
              
            
            
          
              New
                P106: 
“Look at the call to live_component/3 in the modal component’s markup…” 
It would be worth mentioning that this markup appears in ...
              
            
            
          
              New
                P103: 
because the phx-target is set to the @id assignment, 
It’s not clear (to me at least) where/how it is set?
              
            
            
          
              New
                Hi, 
May I suggest you update Surface to 0.5.0 and your examples? It would be a shame to release the book using deprecated syntax.
              
            
            
          
              New
  
        Publisher: 
        Pragmatic Bookshelf
    
      
      
      
    
      
      
        
      
      
          
      
        
        
        
      
        
			
      
      
      
			
      
    
Latest in Programming Phoenix LiveView
Get money off!
            The Pragmatic Bookshelf
35% off any eBook
Use the coupon code "devtalk.com" to get 35% off any eBook published by PragProg!






