Enjoy fast, free delivery, exclusive deals, and award-winning movies & TV shows with Prime
Try Prime
and start saving today with fast, free delivery
Amazon Prime includes:
Fast, FREE Delivery is available to Prime members. To join, select "Try Amazon Prime and start saving today with Fast, FREE Delivery" below the Add to Cart button.
Amazon Prime members enjoy:- Cardmembers earn 5% Back at Amazon.com with a Prime Credit Card.
- Unlimited Free Two-Day Delivery
- Streaming of thousands of movies and TV shows with limited ads on Prime Video.
- A Kindle book to borrow for free each month - with no due dates
- Listen to over 2 million songs and hundreds of playlists
- Unlimited photo storage with anywhere access
Important: Your credit card will NOT be charged when you start your free trial or if you cancel during the trial period. If you're happy with Amazon Prime, do nothing. At the end of the free trial, your membership will automatically upgrade to a monthly membership.
-45% $30.99$30.99
Ships from: Amazon.com Sold by: Amazon.com
$23.24$23.24
$3.99 delivery May 21 - 22
Ships from: Half Price Books Inc Sold by: Half Price Books Inc
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
OK
Web Development with Node and Express: Leveraging the JavaScript Stack 2nd Edition
Purchase options and add-ons
Build dynamic web applications with Express, a key component of the Node/JavaScript development stack. In this updated edition, author Ethan Brown teaches you Express fundamentals by walking you through the development of an example application. This hands-on guide covers everything from server-side rendering to API development suitable for use in single-page apps (SPAs).
Express strikes a balance between a robust framework and no framework at all, allowing you a free hand in your architecture choices. Frontend and backend engineers familiar with JavaScript will also learn best practices for building multipage and hybrid web apps with Express. Pick up this book and discover new ways to look at web development.
- Create a templating system for rendering dynamic data
- Dive into request and response objects, middleware, and URL routing
- Simulate a production environment for testing
- Persist data in document databases with MongoDB and relational databases with PostgreSQL
- Make your resources available to other programs with APIs
- Build secure apps with authentication, authorization, and HTTPS
- Integrate with social media, geolocation, and more
- Implement a plan for launching and maintaining your app
- Learn critical debugging skills
- ISBN-101492053511
- ISBN-13978-1492053514
- Edition2nd
- PublisherO'Reilly Media
- Publication dateDecember 17, 2019
- LanguageEnglish
- Dimensions7 x 0.75 x 9 inches
- Print length343 pages
Frequently bought together
Similar items that may ship from close to you
From the brand
-
-
Sharing the knowledge of experts
O'Reilly's mission is to change the world by sharing the knowledge of innovators. For over 40 years, we've inspired companies and individuals to do new things (and do them better) by providing the skills and understanding that are necessary for success.
Our customers are hungry to build the innovations that propel the world forward. And we help them do just that.
From the Publisher
From the Preface
Who This Book Is For
This book is for programmers who want to create web applications (traditional websites; single-page applications with React, Angular, or Vue; REST APIs; or anything in between) using JavaScript, Node, and Express. One of the exciting aspects of Node development is that it has attracted a whole new audience of programmers. The accessibility and flexibility of JavaScript have attracted self-taught programmers from all over the world. At no time in the history of computer science has programming been so accessible. The number and quality of online resources for learning to program (and getting help when you get stuck) is truly astonishing and inspiring. So to those new (possibly self-taught) programmers, I welcome you.
Then, of course, there are the programmers like me, who have been around for a while. Like many programmers of my era, I started off with assembler and BASIC and went through Pascal, C++, Perl, Java, PHP, Ruby, C, C#, and JavaScript.
At university, I was exposed to more niche languages such as ML, LISP, and PROLOG. Many of these languages are near and dear to my heart, but in none of these languages do I see so much promise as I do in JavaScript. So I am also writing this book for programmers like myself, who have a lot of experience and perhaps a more philosophical outlook on specific technologies.
No experience with Node is necessary, but you should have some experience with JavaScript. If you’re new to programming, I recommend Codecademy. If you’re an intermediate or experienced programmer, I recommend my own book, Learning JavaScript, 3rd Edition (O’Reilly).
The examples in this book can be used with any system that Node works on (which covers Windows, macOS, and Linux, among others). The examples are geared toward command-line (terminal) users, so you should have some familiarity with your system’s terminal.
Most important, this book is for programmers who are excited. Excited about the future of the Internet and want to be part of it. Excited about learning new things, new techniques, and new ways of looking at web development. If, dear reader, you are not excited, I hope you will be by the time you reach the end of this book….
Notes on the Second Edition
It was a joy to write the first edition of this book, and I am to this day pleased with the practical advice I was able to put into it and the warm response of my readers.
The first edition was published just as Express 4.0 was released from beta, and while Express is still on version 4.x, the middleware and tools that go along with Express have undergone massive changes. Furthermore, JavaScript itself has evolved, and even the way web applications are designed has undergone a tectonic shift (away from pure server-side rendering and toward single-page applications).
While many of the principles in the first edition are still useful and valid, the specific techniques and tools are almost completely different. A new edition is overdue. Because of the ascendance of SPAs, the focus of this second edition has also shifted to place more emphasis on Express as a server for APIs and static assets, and it includes an SPA example.
Editorial Reviews
About the Author
Product details
- Publisher : O'Reilly Media; 2nd edition (December 17, 2019)
- Language : English
- Paperback : 343 pages
- ISBN-10 : 1492053511
- ISBN-13 : 978-1492053514
- Item Weight : 1.25 pounds
- Dimensions : 7 x 0.75 x 9 inches
- Best Sellers Rank: #219,427 in Books (See Top 100 in Books)
- #45 in JavaScript Programming (Books)
- #142 in Cloud Computing (Books)
- #871 in Internet & Social Media
- Customer Reviews:
About the author
Discover more of the author’s books, see similar authors, read author blogs and more
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonReviews with images
-
Top reviews
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
I read word for word the first 12 or so chapters building the whole project in some cases from scratch and in
some just copying the GitHub copies so I did not have to type everything. But I ended up with a project I
modeled my live project from. Somewhere after the 12th Chapter I was just reading for understanding
since the database used was not my preference. I found a lot of the information parted in the later chapters
to be helpful references for things I was doing live and did do a few months later.
When I ran into understanding issues on the use of the promises and how they really work I found the additional
insights that I was able to get from Ethan helped me to understand more fully how the whole synchronous
verses async processes really worked in software. I was aware of this on the hardware level but not on the software,
As an electrical engineer I have always known how async processes do not easily mix with synchronous. I have to admit that the added help I got from the Author via email enlightened me in this area.
So if anything I would say that it should be a little additional chapter to the book in the next edition if there is one. But not necessary as the book as it is is a very good instructional text for hands on folks.like me.
The only thing needing some more refinement, I think, was the hand-off to Single page and React. I enjoyed
this part of the book but I could not bring my project along to do the same thing the author had done with
his. I think it was because at that point I was pretty much committed to all of the items that I was using in
Express and did not want to let them go in the name of progress. I have since been delving into React and
Restful just to understand what all of the hyp is about.
The bottom line is that the experience I got from the author's book propelled me thoroughly into the wonders of the node.js world.
If you are already familiar with JavaScript and want to learn how to build Web Apps with Express, this is an excellent starting point.
For one thing, as this may not be a con for other but is a con for myself, the entire book is completely text based. Their is not a single image or depiction of what you should be expecting to be rendered on the screen on any part of the book, and for a book that is essentially web development, I'm not expecting beautiful magazine levels of imagery, but a mock up to a site would be appropriate so a user has an expectation for what they are building.
The Subject matter, in my honest opinion is covered in a way that makes this book seemed to be topic based, which would be fine, if you are establishing different levels of output or repositories of example code for someone to follow along with the subject, but from chapter 3 as established by the author, is a project based book. From the point that I was reading in, it felt to me that the subject matter was entirely out of sequence in terms of best practices for any kind of developer e.g. Why are we discussing not even 10% of the way through the book unit testing, when the author even notes that we do not have any kind of data to even test, except for the fortune example that is given in order to explain exports within nodejs? Since we are building a standalone project, an appropriate solution would have been to create a brand new file to use testing on instead of making testing on a project that Literally has 2 status code routes, along with 2 routes with a simple text that explains the route.
I cannot attest to whether or not the git code does not work within the book, however a Major flaw that was the catalyst in my decision was after skimming through chapter 5, the contents of chapter 6 almost completely discard the added code that was made a chapter ago with routes. A non experienced developer on the subject that is simply following along with the book would've had errors from simply rendering content written by the author.
I recommend finding a different book, if not using official documentation in order to learn the node library, with a video supplement in order to get your goals if you are trying to learn nodejs for web development, and especially if you want to learn the language in itself, as from what I could tell, the order in which core node modules that are built within the node framework are not addressed before diving straight into express, although, I do not see this personally as a con.
Top reviews from other countries
My only complaints are that the last 1/4 of the book is almost entirely general Node stuff, rather than being Express-specific (ex: a chapter on SPAs, Node debugging, using 3rd APIs (like twitter), best practices for maintenance, etc.). That's nice, but it comes at the expense of having more detailed examples of real-world Express code and use cases.
By contrast to the above, things that are lacking:
- Using multiple Express.Router instances to divide routes into more manageable modules is almost entirely undiscussed
- There is barely any example implementation or detail of an actual API implemented in Express
- Authentication is pretty well covered, but Authorization routing approaches (RBAC/ABAC) are barely discussed.
- More depth on writing custom middleware would have been nice (patterns, gotchas, best practices, etc.)
My other big complaint is that ES6 Module syntax isn't touched on _at_all_ as it relates to Express. All the code in the whole book uses the CommonJS ( require(...) ) syntax. That's great, but a book printed in 2020 should cover ES6 Modules. (Note: He _does_ use ES6 in the SPA chapter, which has several JSX code samples, but he never actually mentions this difference or acknowledges that ES6 Modules can work in Node as well).
Since all my complaints are about things that are missing, I still give it 4 stars. What this book does cover is solid, detailed, and easy to understand. This book is worth reading for anyone wanting to learn or brush up on Express.
- Not enough explanations for the code, especially big chunks is code
For me, this is a well-written (i.e. clear language and structure) but entirely pointless book.