• icon
    Thanh toán đa dạng, linh hoạt
    Chuyển khoản ngân hàng, thanh toán tại nhà...
  • icon
    Miễn Phí vận chuyển 53 tỉnh thành
    Miễn phí vận chuyển đối với đơn hàng trên 1 triệu
  • icon
    Yên Tâm mua sắm
    Hoàn tiền trong vòng 7 ngày...

Functional Design Patterns for Express.js: A step-by-step guide to building elegant, maintainable Node.js backends

  • Mã sản phẩm: 1074005309
  • (8 nhận xét)
best choise
100% Hàng chính hãng
Chính sách Đổi trả trong vòng 14 ngày
Kiểm tra hàng trước khi thanh toán
Chưa có nhiều người mua - cẩn thận
  • Publisher:Independently published (June 24, 2019)
  • Language:English
  • Paperback:137 pages
  • ISBN-10:1074005309
  • ISBN-13:978-1074005306
  • Item Weight:11.5 ounces
  • Dimensions:7 x 0.31 x 10 inches
  • Best Sellers Rank:#2,032,863 in Books (See Top 100 in Books) #596 in JavaScript Programming (Books) #6,777 in Programming Languages (Books) #9,301 in Internet & Social Media
  • Customer Reviews:3.0 out of 5 stars 8Reviews
1,348,000 vnđ
- +
Functional Design Patterns for Express.js: A step-by-step guide to building elegant, maintainable Node.js backends
Functional Design Patterns for Express.js: A step-by-step guide to building elegant, maintainable Node.js backends
1,348,000 vnđ
Chi tiết sản phẩm

Mô tả sản phẩm

Review

Wonderfully entertaining and illuminating. Guaranteed to induce frequent "ah-ha!" moments.
Easily one of the best treatments of backend programming with Node.js.

-- Chris Aquino | author of
Front-End Web Development: The Big Nerd Ranch Guide

You've written a bunch of web servers, but never one like this. Get ready to learn JS web server development from the ground up by demystifying each layer, then abstracting it away. Beyond an introduction to the Express ecosystem,
you'll be armed with a deep understanding of the abstractions themselves.

-- Jay Hayes | developer & instructor

Product Description

Learn the design patterns that transcend Express.js and recur throughout high-quality production codebases, with a step-by-step approach that teaches by doing.

Wonderfully entertaining and illuminating. Guaranteed to induce frequent “ah-ha!” moments. Easily one of the best treatments of backend programming with Node.js.

— Chris Aquino, author of Front-End Web Development: The Big Nerd Ranch Guide

Express is arguably the ubiquitous library for building Node backends. As of mid-2019, it is a dependency of 3.75 million codebases on Github alone. So if you hop into a Node codebase, chances are Express is part of it.

Good design in an Express.js backend is good design anywhere. The patterns you learn to develop Node backends will outlive Express and influence your design approaches in unrelated platforms.

  • Learn Express.js by building a pure backend with authentication from scratch.
  • Apply best practices to architect resilient, testable Node.js backends.
  • Discover functional design patterns that transfer to any tech stack.

Who Is This Book For?

Searching for an Express.js primer that isn’t another screencast or exhaustive reference guide? Whether you’re a seasoned backend developer, frontend developer or recent web bootcamp graduate, this is the guide for you.

  • Learn the intuitions of developing elegant, maintainable backends without the distractions of every tangential tool in the ecosystem.
  • Solidly grasp the motivation behind each concept as you build step-by-step.
  • Expand your design palate with patterns that will transfer to other platforms.

What You Will Learn

This book focuses on best practice, conventional backend design for pure backend APIs. As we build a full-featured backend together, expect to:

  • Demystify HTTP: the web’s core abstraction
  • Use telnet and Insomnia to test backend features
  • Refactor a vanilla Node.js http.Server into an Express app
  • Apply the Router design pattern to tease apart growing functions
  • Drop in Express’s Router factory with zero changes
  • Leverage JavaScript’s Function Objects to seamlessly upgrade middleware
  • Work with streaming, JSON and multipart request bodies
  • Build custom, decoupled middleware that’s trivial to reuse
  • Extract complex branch logic into dedicated middleware
  • When to use global, route or router middleware to prevent coupling
  • Handle exceptions with error handling middleware
  • Community middleware for static servers, file uploads, logging, body parsing, MIME types and more
  • Design perspectives on authentication vs. authorization
  • Build conventional authentication endpoints
  • Write loosely coupled username/password authentication middleware
  • Authenticate with JSON Web Tokens that coexists with other auth strategies
  • Create graceful global middleware
  • Currying, partially applied functions and other Functional Programming patterns
  • Customize middleware with Middleware Factories
  • Design patterns for elegant authorization logic
  • Split authorization into Policies and Enforcers
  • Guard routes with custom exceptions

What Do I Need to Know?

You should have a strong hands-on foundation in JavaScript and Node.js, including:

  • Callbacks, async functions and Promises.
  • ES2015, especially destructuring syntax and arrow functions.

You don’t need prior backend experience. If you understand how servers and clients interact, experience from either side of the equation is sufficient.

From the Author

You've built backends in another language for a decade. You're a seasoned frontend JavaScript developer. You're a recent web bootcamp graduate. You're searching for an Express.js primer that isn't another screencast or exhaustive reference guide.

If any of those describe you,
this is the guide for you.

The pedagogical approach of this book is aimed at transferring
design intuitions -- motivated by real-world consulting experiences -- in the fastest way possible. That translates to a razor-focused topic scope and no contrived examples to motivate tools you probably won't use, or shouldn't be using because they indicate deeper "code smells."

Ready to get.started()?

About the Author

Jonathan Lee Martin is a globetrotting educator, author and international speaker. He's guided over 300 developers -- from career switchers to senior developers at Fortune 100 companies -- through their journey into web development.

While waiting for
npm install to finish, he treks around the world as a fine art landscape photographer.

 

Hỏi đáp
Nhận xét của khách hàng