Cargando…

Node.js Web Development : Server-side development with Node 10 made easy, 4th Edition.

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. JavaScript is no longer just for browsers and this exciting introduction to Node.js will show you how to build data-i...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Herron, David
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham : Packt Publishing, 2018.
Edición:4th ed.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Cover; Title Page; Copyright and Credits; Dedication; Packt Upsell; Contributors; Table of Contents; Preface; Chapter 1: About Node.js; The capabilities of Node.js; Server-side JavaScript; Why should you use Node.js?; Popularity; JavaScript at all levels of the stack; Leveraging Google's investment in V8; Leaner, asynchronous, event-driven model; Microservice architecture; Node.js is stronger for having survived a major schism and hostile fork; Threaded versus event-driven architecture; Performance and utilization; Is Node.js a cancerous scalability disaster?
  • Server utilization, the business bottom line, and green web hostingEmbracing advances in the JavaScript language; Deploying ES2015/2016/2017/2018 JavaScript code; Node.js, the microservice architecture, and easily testable systems; Node.js and the Twelve-Factor app model; Summary; Chapter 2: Setting up Node.js; System requirements; Installing Node.js using package managers; Installing on macOS with MacPorts; Installing on macOS with Homebrew; Installing on Linux, *BSD, or Windows from package management systems; Installing Node.js in the Windows Subsystem for Linux (WSL).
  • Opening an administrator-privileged PowerShell on WindowsInstalling the Node.js distribution from nodejs.org; Installing from source on POSIX-like systems; Installing prerequisites; Installing developer tools on macOS; Installing from source for all POSIX-like systems; Installing from source on Windows; Installing multiple Node.js instances with nvm; Installing nvm on Windows; Native code modules and node-gyp; Node.js versions policy and what to use; Editors and debuggers; Running and testing commands; Node.js's command-line tools; Running a simple script with Node.js.
  • Conversion to async functions and the Promise paradigmLaunching a server with Node.js; NPM
  • the Node.js package manager; Node.js, ECMAScript 2015/2016/2017, and beyond ; Using Babel to use experimental JavaScript features; Summary; Chapter 3: Node.js Modules; Defining a module; CommonJS and ES2015 module formats; CommonJS/Node.js module format; ES6 module format; JSON modules; Supporting ES6 modules on older Node.js versions; Demonstrating module-level encapsulation; Finding and loading CommonJS and JSON modules using require; File modules; Modules baked into Node.js binary.
  • Directories as modulesModule identifiers and pathnames; An example of application directory structure; Finding and loading ES6 modules using import; Hybrid CommonJS/Node.js/ES6 module scenarios; Dynamic imports with import(); The import.meta feature; npm
  • the Node.js package management system; The npm package format; Finding npm packages; Other npm commands; Installing an npm package; Installing a package by version number; Global package installs; Avoiding global module installation; Maintaining package dependencies with npm; Automatically updating package.json dependencies.