1/16
Flashcards covering key concepts related to server-side scripting with Node.js.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
Server-side Programming
A type of programming that allows tailored content delivery to individual users and provides access to underlying OS features.
Node.js
An open-source runtime environment for executing JavaScript outside the browser, allowing writing server-side code in JavaScript.
Event loop
A single-threaded architecture in Node.js that handles incoming requests sequentially and processes them.
Asynchronous Programming
A programming paradigm that allows functions to be executed outside the main execution thread, enabling non-blocking operations.
Promise
A proxy for a value that will eventually become available, which can be resolved or rejected.
Nodemon
A module that automatically restarts a Node.js application when file changes in the directory are detected.
File I/O
Input/output operations involving reading and writing files, which can be performed asynchronously or synchronously using the fs module.
Transform Stream
A type of stream that can both read and write data, transforming the input data during the process.
EventEmitter
A Node.js class that allows for triggering and responding to events.
Microtask queue
A queue that processes asynchronous tasks such as promises after the current stack of execution is complete.
Callback hell
A situation in programming where callbacks are nested within callbacks, making the code hard to read and maintain.
Dependency
A library or module that a piece of code relies upon for functionality.
Readable Stream
A stream that allows data to be read from it.
Writable Stream
A stream that allows data to be written to it.
Duplex Stream
A stream that allows simultaneous reading and writing.
Non-blocking I/O
I/O operations that allow other tasks to proceed without waiting for the current task to complete.
Session management
The process of managing user sessions, including storing and retrieving session data.