My Review of Node for Front-End Developers

Originally submitted at O’Reilly

<div>
  <img src="https://images.powerreviews.com/images_products/05/49/14267351_100.jpg" class="photo" align="left" style="margin: 0 0.5em 0 0" /></p> 
  
  <p style="margin-top:0">
    Writing Server-Side JavaScript Applications
  </p>
</div>

<p>
  <a href="http://shop.oreilly.com/product/0636920023258.do" style="display: none;" class="url fn"><span class="fn">Node for Front-End Developers</span></a></div> 
  
  <p>
    <br clear="left" />
  </p>
  
  <p>
    <strong class="summary">Or&#8230; Prototyping with Node.js</strong>
  </p>
  
  <div>
    By <strong>Jim Schubert</strong> from <strong>Richmond, VA</strong> on <strong><abbr title="2012211T1200-0800" class="dtreviewed" style="border: none; text-decoration: none;">2/11/2012</abbr></strong>
  </div>
  
  <p>
    <div style="margin: 0.5em 0; height: 15px; width: 83px; background-image: url(https://images.powerreviews.com/images/stars_small.gif); background-position: 0px -144px;" class="prStars prStarsSmall">
      &nbsp;
    </div>
  </p>
  
  <div style="display: none">
    <span class="rating">4</span>out of 5
  </div>
  
  <p>
    <strong>Pros: </strong>Well-written, Easy to understand, Concise, Accurate, Helpful examples
  </p>
  
  <p>
    <strong>Cons: </strong>Too short
  </p>
  
  <p>
    <strong>Best Uses: </strong>Student, Novice
  </p>
  
  <p>
    <strong>Describe Yourself: </strong>Software Engineer
  </p>
  
  <p style="margin-top:1em" class="description">
    I&#8217;ve reviewed &#8220;Node for Front-End Developers&#8221; for the O&#8217;Reilly blogger program. Because I&#8217;ve been contributing to an open-source Node.js ebook, I was very excited to read this book. I must warn you&#8211; this book is less about Node.js than it is about prototyping web applications using modules available in Node.js. If you begin reading this from that perspective and you have little knowledge of Node.js in general, you will gain a lot from reading this. If, however, you have experience with Node.js and have used frameworks such as Express and Connect, there is not much more covered in these 58 pages.<br xmlns:pr="xalan://com.pufferfish.core.beans.xmlbuilders.xsl.Functions" /><br />Garann Means has written this book in a great way. She doesn&#8217;t start off explaining the Express framework like most introductions to Node.js would have done. Instead, she shows how to create a minimal http server, add templating and middleware, and then discusses Express and separating concerns into an MVC or MVC-like pattern.
  </p>
  
  <p>
    There are a few times where I think the terminology could be misleading. For example, at the beginning she talks about &#8216;scaffolding&#8217;. Scaffolding in general implies code generation and the only bit of true scaffolding discussed in the book occurs on one line in one of the last few chapters when the Express framework generates an empty application. I would have liked to see some true &#8216;scaffolding&#8217; examples, either with code specific to the book or with third-party modules. Aside from one or two other terminology issues (which is probably just me being picky), the content is spot-on.
  </p>
  
  <p>
    Garann does talk about asynchronous operations a little, but this is a huge area of concern for front-end and back-end developers when migrating to Node.js because the asynchronous and event-driven nature of common tasks (files, database) can often increase the complexity of a simple task. Had she expanded on the asynchronous nature of Node.js more, I would have given this book five stars. She does offer a caveat in the Postscript that this book doesn&#8217;t cover all there is to know about Node.js, and she&#8217;s right. Before or after reading this, you should read the introduction in the Node.js documentation and the Express framework&#8217;s documentation.
  </p>
  
  <p>
    In conclusion, this is an excellent introduction to prototyping web applications using Node.js. I would recommend this book to people who are familiar with JavaScript programming and want to being prototyping without the need to learn additional languages and frameworks like Ruby on Rails, Catalyst, ASP.NET MVC, etc.
  </p>
  
  <p style="margin-top:0.5em">
    (<a href="http://www.powerreviews.com/legal/terms_of_use.html" rel="license">legalese</a>)
  </p></div>

Related Articles