Section 1

Preview this deck

Middleware

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

7 years ago

Date created

Mar 1, 2020

Cards (14)

Section 1

(14 cards)

Middleware

Front

Layer between

Back

fs module

Front

A built-in module that handles file system

Back

Single page application

Front

Back

URL module

Front

A built-in module that parses URL strings

Back

Non-blocking

Front

Considered asynchronous

Back

Built-in Modules

Front

Http, url, fs

Back

Node.js

Front

An open source server environment. It allows you to run JavaScript on the server. Server-side scripting language. https://www.w3schools.com/nodejs/ https://career.guru99.com/top-25-interview-questions-on-node-js/

Back

How Node.js work

Front

Works on a v8 environment, it is a virtual machine that utilizes JavaScript as its scripting language and achieves high output via non-blocking I/O and single threaded event loop.

Back

Http module

Front

A built-in module that creates an HTTP server that listens to server ports and gives a response back to the client. Use the createServer() method to create an HTTP server:

Back

Callback function

Front

A function specified as part of an event listener

Back

Express

Front

A node framework for URL routing, error handling, middleware and etc

Back

Semantic Versioning

Front

Version 1.2.3 1: major - break in functionality 2: minor - added features that don't break functionality 3: patch (fix) - bug fix or patch

Back

Module

Front

A set of functions you want to include in your application. (Same as JavaScript libraries.) Use require() function with the name of module to include

Back

Blocking

Front

Blocking is when the execution of additional JavaScript in the Node.js process must wait until a non-JavaScript operation completes. This happens because the event loop is unable to continue running JavaScript while a blocking operation is occurring.

Back