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.
$39.99$39.99
Ships from: Amazon.com Sold by: Amazon.com
$6.52$6.52
Ships from: Amazon Sold by: Books by Sunshine75
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.
Express in Action: Writing, building, and testing Node.js applications 1st Edition
Purchase options and add-ons
Summary
Express in Action is a carefully designed tutorial that teaches you how to build web applications using Node and Express.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
About the Technology
Express.js is a web application framework for Node.js. Express organizes your server-side JavaScript into testable, maintainable modules. It provides a powerful set of features to efficiently manage routes, requests, and views along with beautiful boilerplate for your web applications. Express helps you concentrate on what your application does instead of managing time-consuming technical details.
About the Book
Express in Action teaches you how to build web applications using Node and Express. It starts by introducing Node's powerful traits and shows you how they map to the features of Express. You'll explore key development techniques, meet the rich ecosystem of companion tools and libraries, and get a glimpse into its inner workings. By the end of the book, you'll be able to use Express to build a Node app and know how to test it, hook it up to a database, and automate the dev process.
What's Inside
- Simplify Node app setup with Express
- Testing Express applications
- Use Express for easy access to Node features
- Data storage with MongoDB
- Covers Express 4 and Express 5 alpha
About the Reader
To get the most out of this book, you'll need to know the basics of web application design and be proficient with JavaScript.
About the Author
Evan Hahn is an active member of the Node and Express community and contributes to many open source JavaScript projects.
Table of Contents
PART 1 INTRO
- What is Express?
- The basics of Node.js
- Foundations of Express
PART 2 CORE
- Middleware
- Routing
- Building APIs
- Views and templates: Pug and EJS
PART 3 EXPRESS IN CONTEXT
- Persisting your data with MongoDB
- Testing Express applications
- Security
- Deployment: assets and Heroku
- Best practices
- ISBN-101617292427
- ISBN-13978-1617292422
- Edition1st
- PublisherManning Publications
- Publication dateApril 19, 2016
- LanguageEnglish
- Dimensions7.38 x 0.7 x 9.25 inches
- Print length256 pages
Frequently bought together
Similar items that may deliver to you quickly
Editorial Reviews
About the Author
Evan Hahn is an active member of the Node and Express community. He authors and contributes to many open-source JavaScript projects.
Product details
- Publisher : Manning Publications; 1st edition (April 19, 2016)
- Language : English
- Paperback : 256 pages
- ISBN-10 : 1617292427
- ISBN-13 : 978-1617292422
- Item Weight : 1 pounds
- Dimensions : 7.38 x 0.7 x 9.25 inches
- Best Sellers Rank: #713,131 in Books (See Top 100 in Books)
- #174 in JavaScript Programming (Books)
- #208 in Web Services
- #906 in Software Development (Books)
- Customer Reviews:
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 Amazon-
Top reviews
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
The best thing about "Express in Action" is that it takes a very step-by-step approach to a Node stack, starting with Node itself. It shows how to make a small, simple web app using just Node, then brings in Express with a minimum of modules, along with more excellent explanations.
This is important, because although the modular nature of Node and Express is a strength, it can also make things very confusing. A lot of online tutorials and even books throw a bunch of third-party modules into their code without really explaining how or why they work. Express in Action does not make that mistake. It goes into detail about how modules are incorporated, how Express's middleware stack works, etc.
Obviously, this isn't a book for those completely new to programming or web development. In order to get the value of it, you'll want to have at least an intermediate knowledge of JavaScript. Ideas like callbacks, JSON, APIs and closures should not be new to you, and it would help if you've worked with a library or two, such as jQuery. It might also help to have a little exposure to the back end, either through writing some basic apps with Node and Express or even through something like Ruby on Rails or .Net MVC. You don't have to be an expert, but if you have even a little bit of experience with how web apps work on the server side you'll find that this book makes a lot more sense.
This is the best introduction to Node and Express that I've seen, and I've been looking for some time. I 100% recommend this book.
This book was an excellent read, provided me with knowledge on topics outside express directly, and was enjoyable to read. I don't view this as a reference book and I suspect that professional web developers, who use express daily, may find this book to be a bit too inclusive of additional information beyond strict express examples. I feel this additional information and context makes the book appealing and accessible and don't think the express professional was the target audience anyway.
The greatest strength in this book, for me, was the breadth of the information provided -- I recommend viewing the "look inside" available on this amazon page to view the "brief contents" to see for yourself. At ~230 pages the book reads quickly (I easily finished and, more importantly, felt I understood the bulk of the information in only a couple days) and does not extensively cover every detail of the included topics. It does however provide a general overview, some relevant examples, and then information on where to find additional resources on the topics. I really appreciate this format.
The section on testing, when compared to the other sections, felt a bit weak to me. I don't view this as a negative as I felt it did a nice job of covering why this is important topic, but I can't say I fully grasped the examples as well as I did in the other sections.
positive 1: chapter 10, Evan delivered this content perfectly, very clear statements and solutions.
positive 2: for junior and middle this book is right choice.
positive 3: I like how Evan explained npm + shrinkwrap, but I recommend to mention in second edition, that there is no guarantee anyway since developers can unpublish and publish back with same version, plz add it.
negative 1: chapter 2 page 30. It says that require and module.exports are globals. This is wrong, even module is not global. Please fire errata.
negative 2: browserify is a great thing in context mentioned by Evan, but negative sides of browserify are bigger paint and there is no explanation why. At the market browserify is the worst approach, even requirejs is better for browser. There is no clue why in the book. Browserify could suck big part of your nodejs to browser, if you don't point attention on what you use. Browserify doesn't allow you to load something else in the future, only one bundle. What browserify could do if your bundle is 5mb, sure you can split it into more bundles and try to manage them. I am sure there are much better module bundle loaders out there (requirejs, webpack).
negative 3: ejs templates, look at header.ejs and footer.ejs. I don't recommend to use smth like that on production. When I want to leverage layouts, my html should not be opened in one template and closed in another. Juniors could make some if statements, so that your logic will be managed in more templates. I see some meteor school here, which I don't like. But meteor doesn't distribute such tags across different templates.
negative 4: when explaining passport, Evan started with idea, that we should not use old approach in the book with global variables, because data will not be distributed across cluster. Evan spend some time to explain express session, which is stored and recreated on each node. Same problem will impact if junior store some additional data in session which is driven just by SID. I wish Evan to explain what kind of session could be used in express and how it is restored on each node in cluster.
personal 1: it is 2016, I wish to have some ES6 code and classes to express my routes.
personal 2: I want to have more express content in the book, but got more express in context. 1/2 of the book is about express, but second half is about context, better to spend less pages on context. I wish to have smth like how you should implement it without express, please show this nightmare and explain why we need express now.