Web Development with Node and Express
Leveraging the JavaScript Stack
Publisher: O'Reilly Media
Final Release Date: July 2014
Pages: 332

Learn how to build dynamic web applications with Express, a key component of the Node/JavaScript development stack. In this hands-on guide, author Ethan Brown teaches you the fundamentals through the development of a fictional application that exposes a public website and a RESTful API. You’ll also learn web architecture best practices to help you build single-page, multi-page, and hybrid web apps with Express.

Express strikes a balance between a robust framework and no framework at all, allowing you a free hand in your architecture choices. With this book, frontend and backend engineers familiar with JavaScript will discover new ways of looking at web development.

  • Create webpage templating system for rendering dynamic data
  • Dive into request and response objects, middleware, and URL routing
  • Simulate a production environment for testing and development
  • Focus on persistence with document databases, particularly MongoDB
  • Make your resources available to other programs with RESTful APIs
  • Build secure apps with authentication, authorization, and HTTPS
  • Integrate with social media, geolocation, and other third-party services
  • Implement a plan for launching and maintaining your app
  • Learn critical debugging skills

    This book covers Express 4.0.

Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyWeb Development with Node and Express
 
4.8

(based on 13 reviews)

Ratings Distribution

  • 5 Stars

     

    (10)

  • 4 Stars

     

    (3)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

100%

of respondents would recommend this to a friend.

Pros

  • Well-written (11)
  • Easy to understand (10)
  • Helpful examples (6)
  • Concise (5)
  • Accurate (4)

Cons

No Cons

Best Uses

  • Novice (8)
  • Intermediate (7)
  • Student (4)
  • Expert (3)
    • Reviewer Profile:
    • Developer (11)

Reviewed by 13 customers

Sort by

Displaying reviews 1-10

Back to top

Previous | Next »

 
5.0

Ten times better than it needs to be!

By Geronimus

from Toronto, Canada

About Me Developer

Pros

  • Accurate
  • Concise
  • Easy to understand
  • Helpful examples
  • Well-written

Cons

    Best Uses

    • Expert
    • Intermediate
    • Novice
    • Student

    Comments about oreilly Web Development with Node and Express:

    This slim but accessible volume is the perfect starting point for those approaching not only server-side development with Node, but (without beating around the bush) provides solid theoretical grounding for those beginning web development and open-source software development in general.

    The author's extremely helpful running example allows you to follow along and build your understanding as a single project. (Rather than a collection of unrelated exercises.)

    A word of caution: There is a bias towards the UNIX systems, but as the author states, this bias belongs more to the open-source web development industry than Node itself. The author provides as much guidance as he can to make all of the examples work on a Windows box. However, Windows users will have some difficulties with some of the third-party libraries. (Although I admit that working around and through these difficulties also gave me an opportunity to learn an enormous amount about how Node, and my own operating system, works.)

    Ethan Brown is THE teacher I would choose to learn web technologies from.

     
    5.0

    Learned about Node, Express and evweb development in general

    By thierry

    from Belgium

    About Me Developer

    Verified Buyer

    Pros

    • Well-written

    Cons

      Best Uses

      • Expert
      • Intermediate

      Comments about oreilly Web Development with Node and Express:

      Bought it to read during a flight, and time was flying! Especially the not expected overall web development concepts were a great bonus, on top of the node & express insights. It clicked, and now I need to reread it with a computer at hand.

      (2 of 2 customers found this review helpful)

       
      5.0

      Perfect introductory book

      By Jakub Vosahlo

      from Velvary, Czech Republic

      About Me Developer

      Verified Reviewer

      Pros

      • Accurate
      • Concise
      • Easy to understand
      • Helpful examples
      • Well-written

      Cons

        Best Uses

        • Novice
        • Student

        Comments about oreilly Web Development with Node and Express:

        I have read a couple of books introducing NodeJS and Express development and in my opinion Ethan Brown exceeds in a couple of areas:

        1. The book is very well written, clearly structured, as a non-native speaker I found it very easy to read, understand and follow. The writing is crystal clear, I did enjoy reading it.

        2. The book contains a lot, and I mean a lot, of topics. For each of them you get introduction to the area (security, testing, REST), practical examples which is easy to follow, recommendations what to do next... Very well structured learning material.

        3. Source code. This is actually a second review I do for this book, the first was not so completely positive. Originally it was difficult to follow a couple of examples in the book while using newest versions of some packages, because newer versions of the libraries did not work in the same way as was described in the book. Author took care of the issue by fixing code repository on github, so it's now quite easy to use all the samples again.

        This is really a book I tend to return to.

        (1 of 1 customers found this review helpful)

         
        5.0

        The only book you should need for Express

        By evolvingtech

        from Brooklyn, NY

        About Me Developer

        Verified Reviewer

        Pros

        • Accurate
        • Concise
        • Easy to understand
        • Helpful examples
        • Well-written

        Cons

          Best Uses

          • Intermediate

          Comments about oreilly Web Development with Node and Express:

          Express (with Node.js) is very popular and there are many sources scattered throughout the Internet. There are several challenges: most sources are not comprehensive, a lot of the same information is repeated from website to website, and they skirt around the details on how to do things properly; especially towards an eye of building application code in a production setting.

          There are many things that this book does well.

          * The writing is very clear.
          * It doesn't skimp on the details.
          * It doesn't get lost in the details.
          * Good coding practices are provided so that as your application gets progressively more complex, the app doesn't become unwieldy.

          That said, there are a few caveats. This book favors using Handlebars as the tempting engine over Jade (the templating engine that's generally wedded to Express). For some people this could be a problem. The author argues that Jade abstracts away the detailed control that developers need with HTML and that Handlebars works the other way around. I am sure there are people who would counter this view. I have to say, the author is spot on correct.

          I personally have no problem with choosing one templating engine over another. The difficulty is that when you scour the Internet for how to work with different templating engines, all you keep running into is Jade, more Jade examples, and almost nothing else. You do so some references to another templating tool called Swig, but the examples are never really covered in detail.

          To use this book effectively you really should have some understanding of Node.js under your belt (enough to know about how to use npm, have some understanding of callbacks, etc.). You should also have some knowledge of Express (you don't need too much, because this book shows you how to code Express apps correctly).

          In reading the 25 pages of the book (the introductory chapters) I gleaned more about Express than most other books, articles, tutorials or screencast.

          Also, you really need to be comfortable with coding. For instance, the author suggests using a package called express3-handlebars. The version of handlebars incorporated into the git repository on the master branch is 2.0 (as of the date of this review). There exists another branch on the same repository in which the 3.0 version of handlebars has been merged. I wanted to use the more up to date version, so I had to do a little extra work/tweaks to get the right version in my codebase.

          This is not covered in the book. It's not an item worth worrying over because, I am sure future versions of express-handlebars will merge the 3.0 handlebars into the master branch.

          Also, there are alternative ways to set up Express, such as by using an npm package called 'consolidate', which allow you to pick from any of a number of templating engines.

          This book stands out amongst most programming/coding books in that it gives a lot of attention to things you need to do if you want to build production applications (and not a toy or academic examples). A lot is said on QA/software testing, clustering, stress testing, security, etc.

          There is one topic I wish had been covered in the book... websockets with possibly a package like Socket.IO.

          If your goal is to be building a serious application with Node & Express but may be starting from relatively little experience with Node or Express, this is about the best book you can get.

           
          4.0

          A thorough introduction

          By Nick Dowling

          from London

          Verified Reviewer

          Comments about oreilly Web Development with Node and Express:

          The book is a well written and thorough introduction to building websites using Express on top of node. But good luck to you if you want to get the sample code working. You need to install so many packages and sign up for a (free) mongoDB database at MongoLab, but even following all the instructions in the book it does not work for me.

          })(connect.session.Store);
          ^
          TypeError: Cannot read property 'Store' of undefined
          at module.exports (/home/pi/Downloads/web-development-with-node-and-express-master/node_modules/session-mongoose/index.js:261:23)

          Whether this is a problem with the sample code or the third party package concerned is beyond the ken of anyone who is likely to need to read this book.

          (1 of 4 customers found this review helpful)

           
          5.0

          Great introduction to Node & Express

          By Mattias

          from Malmö, Sweden

          About Me Developer

          Verified Buyer

          Pros

          • Easy to understand
          • Well-written

          Cons

            Best Uses

            • Intermediate
            • Novice

            Comments about oreilly Web Development with Node and Express:

            This book was a great help when I started on a new Node project for a customer. Very well written and easy to read.

            (4 of 4 customers found this review helpful)

             
            5.0

            Practical Approach To Node/Express

            By Larry from LI

            from Long Island, NY

            About Me Developer

            Verified Reviewer

            Pros

            • Easy to understand
            • Well-written

            Cons

              Best Uses

              • Intermediate
              • Novice

              Comments about oreilly Web Development with Node and Express:

              This book offers a very practical and understandable approach to getting a web application up and running with Node.js and Express. Having read a few other Node.js books, I found this book to be more useful to my actual development as it covered many of the implementation issues you will likely run into during the development process. I purchased the book in September 2014 and it uses Express 4 which is much appreciated.

              (3 of 3 customers found this review helpful)

               
              5.0

              Easy to read and understand. Love it.

              By Michal

              from Bratislava, Slovakia

              About Me Developer

              Verified Buyer

              Pros

              • Easy to understand
              • Well-written

              Cons

                Best Uses

                • Novice

                Comments about oreilly Web Development with Node and Express:

                I am not new to JavaScript, actually I do know it pretty well and I also have deep understanding of .Net. What I needed was to be able to build NodeJS apps with Express as fast as possible. This book was just the right thing - it covers a lot of useful topics.

                Doesn't go always very deep, but gives a nice overview, gets your attention to the areas, explains you which modules to use, how to use them for basic setup, etc. It's also very easy to read and I was actually enjoying and looking forward to each new chapter.

                True, sometimes it might go bit deeper, but then it would get quite big and who would love to read it, right? I've finished the book in a few days, sometimes I go back to it as a reference (e.g. when need to lookup module name, basic usage, etc), while building the app.

                I would for sure recommend it to everyone with similar needs to mine - get the basics quickly and do not miss any important concern at the beginning. You can always get details about modules from their documentations, but this book gives you very solid bases on which you can build.

                (1 of 1 customers found this review helpful)

                 
                5.0

                Covers Express 4

                By sandyboy55

                from Bangalore, India

                About Me Designer, Developer

                Verified Reviewer

                Pros

                • Accurate
                • Concise
                • Easy to understand
                • Helpful examples
                • Well-written

                Cons

                  Best Uses

                  • Expert
                  • Intermediate
                  • Novice
                  • Student

                  Comments about oreilly Web Development with Node and Express:

                  I used this product as I had to define a new architecture for my team without using Spring MVC but using Angular with Node and Express. This book came out just in time to help me.

                  The language is really good and the flow is clear. No Jade (which is good) but an alternative like Handlebars for scaffolding. That really shows that the author has made it practical for use at work not just a hello world approach.

                  It also covers implementing MVC in Express, Security, and integrating with 3rd party APIs.

                  The book would have been greater than great if it had provided a brief coverage of how to manage implementing a combined Node+Express (front-end) and a Java (back-end) project. Maybe that would be been outside the scope of the book so I still rate this book 5-star.

                  (4 of 4 customers found this review helpful)

                   
                  5.0

                  Great book for getting started

                  By Matt

                  from Utah

                  About Me Developer

                  Verified Buyer

                  Pros

                  • Easy to understand
                  • Well-written

                  Cons

                    Best Uses

                    • Novice

                    Comments about oreilly Web Development with Node and Express:

                    Everything is presented simply and the text is easy to read.

                    This book eschews the use of Jade in favor of handlebars. I think this was a great switch and really appreciated seeing a book go with another view engine. Express is great but I just can't stomach using Jade, so this book fit the bill for me perfectly.

                    Displaying reviews 1-10

                    Back to top

                    Previous | Next »

                     
                    Buy 2 Get 1 Free Free Shipping Guarantee
                    Buying Options
                    Immediate Access - Go Digital what's this?
                    Ebook:  $25.99
                    Formats:  DAISY, ePub, Mobi, PDF
                    Print & Ebook:  $32.99
                    Print:  $29.99