<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="354677" data-post-id="354677">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="jswanner" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/jswanner/120/24585_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  jswanner
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group quote-modified" data-username="wktdev" data-post="31" data-topic="69031">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/wktdev/48/17649_2.png" class="avatar"> wktdev:</div>
<blockquote>
<p>If you do a search for pub sub in phoenix you get this:<br>
<a href="https://hexdocs.pm/phoenix_pubsub/Phoenix.PubSub.html" class="inline-onebox" rel="noopener nofollow ugc">Phoenix.PubSub — Phoenix.PubSub v2.2.0</a></p>
<p>As a web app developer, this Phoenix “instruction” doesn’t offer any tactile explanation to get me up and running.</p>
</blockquote>
</aside>
<p>I hear you, it would definitely be better if there was a guide in the docs for <code>Phoenix.PubSub</code> or for <a href="https://hexdocs.pm/phoenix/overview.html" rel="noopener nofollow ugc">Phoenix</a> itself.</p>
<p>Without that we’re relying on material from <a href="https://elixirschool.com/blog/live-view-with-pub-sub/" rel="noopener nofollow ugc">elsewhere</a> in the <a href="https://curiosum.com/blog/phoenix-live-view-tutorial#live-updates-with-phoenix-pubsub" rel="noopener nofollow ugc">community</a>. And, while there’s plenty of good material out there, it’s not easy for someone getting started to know where to look, and nothing beats “official guidance.”</p>
<aside class="quote no-group" data-username="wktdev" data-post="31" data-topic="69031">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/wktdev/48/17649_2.png" class="avatar"> wktdev:</div>
<blockquote>
<p>I am not an Erlang developer so my point of reference is building web apps. Most of everything you said is foreign to the tactile process of web app development.</p>
</blockquote>
</aside>
<aside class="quote no-group" data-username="wktdev" data-post="31" data-topic="69031">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/wktdev/48/17649_2.png" class="avatar"> wktdev:</div>
<blockquote>
<p>it really doesn’t matter if you need to machete through a jungle of jargon and weird orthogonal network concepts to do simple web things.</p>
</blockquote>
</aside>
<p>With documentation there’s got to be a balance between assuming knowledge of the development model vs explaining everything to the nth degree. We probably don’t want the module docs for everything that sends messages to start with explaining message passing in the BEAM, instead <a href="https://hexdocs.pm/elixir/processes.html#sending-and-receiving-messages" rel="noopener nofollow ugc">guides</a> are a much better place to explain those underlying concepts.</p>
<p>Every framework and language has different implications of what it means to the a “web developer.” What do React’s <code>useEffect</code> or Rails’s “Controller” have to do with HTML, CSS, and the DOM? Those are concepts that are used for web development in those ecosystems, and how to use them effectively is something that’s learned with experience.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="354677" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/sorting-problem-phoenix-liveview-juggles-pub-sub-and-render-medium-difficulty/69031/32">Post #31</a>
	                </div>
	            </div>
              <div id="likers-container-354677" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="354677"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-last-post cat-last-post" title="Last post!"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <span class="all-loaded">— All posts loaded —</span>
</div></template></turbo-stream>