Node.js web development /
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. 'Node.js Web Development' shows JavaScript is not just for browser-side applications. It can be used for se...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Publishing,
2016.
|
Edición: | Third edition. |
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Cover; Copyright; Credits; About the Author; About the Reviewer; www.PacktPub.com; 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; The Node.js is stronger for having survived a major schism and hostile fork; Performance and utilization; Is Node.js a cancerous scalability disaster?; Server utilization, the bottom line, and green web hosting.
- Node.js, the microservice architecture, and easily testable systemsNode.js and the Twelve-Factor app model; Summary; Chapter 2: Setting up Node.js; System requirements; Installing Node.js using package managers; Installing on Mac OS X with MacPorts; Installing on Mac OS X with Homebrew; Installing on Linux, *BSD, or Windows from package management systems; Installing the Node.js distribution from nodejs.org; Installing from source on POSIX-like systems; Installing prerequisites; Native code modules and node-gyp; Installing developer tools on Mac OS X.
- Installing from source for all POSIX-like systemsInstalling development instances with nvm; Node.js versions policy and what to use; Running and testing commands; Node.js's command-line tools; Running a simple script with Node.js; Launching a server with Node.js; NPM
- the Node.js package manager; Node.js and ECMAScript 6 (ES-2015, ES-2016, and so on); Using Babel to use experimental JavaScript features; Summary; Chapter 3: Node.js Modules; Defining a module; Node.js module format; File modules; Demonstrating module-level encapsulation; Directories as modules.
- Node.js's algorithm for require (module)Module identifiers and path names; An example application directory structure; npm
- the Node.js package management system; The npm package format; Finding npm packages; Other npm commands; Installing an npm package; Initializing a new npm package; Maintaining package dependencies with npm; Fixing bugs by updating package dependencies; Declaring Node.js version compatibility; Updating outdated packages you've installed; Installing packages from outside the npm repository; Publishing an npm package; Package version numbers; A quick note about CommonJS.