9781788626859
Node.js Web Development: Build secure and high performance web applications with Node.js 10
by: David Herron
ISBN-10: 1788626850
ISBN-13: 9781788626859
Edition 版本: 4th Revised edition
Released: 2018-05-30
Pages: 492
Book Description
Node.js is a server-side JavaScript platform using an event-driven,non-blocking I/O model allowing users to build fast and scalable data-intensive applications running in real time.
This book gives you an excellent starting point,bringing you straight to the heart of developing web applications with Node.js. You will progress from a rudimentary knowledge of JavaScript and server-side development to being able to create,maintain,deploy and test your own Node.js application.You will understand the importance of transitioning to functions that return Promise objects,and the difference between fs,fs/promises and fs-extra. With this book you’ll learn how to use the HTTP Server and Client objects,data storage with both SQL and MongoDB databases,real-time applications with Socket.IO,mobile-first theming with Bootstrap,microservice deployment with Docker,authenticating against third-party services using OAuth,and use some well known tools to beef up security of Express 4.16 applications.
Contents
1: ABOUT NODE.JS
2: SETTING UP NODE.JS
3: NODE.JS MODULES
4: HTTP SERVERS AND CLIENTS
5: YOUR FIRST EXPRESS APPLICATION
6: IMPLEMENTING THE MOBILE-FIRST PARADIGM
7: DATA STORAGE AND RETRIEVAL
8: MULTIUSER AUTHENTICATION THE MICROSERVICE WAY
9: DYNAMIC CLIENT/SERVER INTERACTION WITH SOCKET.IO
10: DEPLOYING NODE.JS APPLICATIONS
11: UNIT TESTING AND FUNCTIONAL TESTING
12: SECURITY
What You Will Learn
Install and use Node.js 10 for both development and deployment
Use the Express 4.16 application framework
Work with REST service development using the Restify framework
Use data storage engines such as MySQL,SQLITE3,and MongoDB
Use User authentication methods with OAuth2
Perform Real-time communication with the front-end using Socket.IO
Implement Docker microservices in development,testing and deployment
Perform unit testing with Mocha 5.x,and functional testing with Puppeteer 1.1.x
Work with HTTPS using Let’s Encrypt,and application security with Helmet
Authors
David Herron
David Herron is a software engineer in Silicon Valley,working on projects from an X.400 e-mail server to assist launching the OpenJDK project,to Yahoo’s Node.js application-hosting platform,and applications to monitor solar power array performance. David writes about electric vehicles,environmental issues,and green technology on LongTailPipe,and about other topics,including Node.js,Drupal,and Doctor Who on TechSparx. Using Node.js he developed AkashaCMS.