Other Flashcards
DRY
Don’t Repeat Yourself
Reduce redundancy, easier code maintenance, improved readability and improved code consistency
Microservice
Dividing seemingly one app into multiple independent “apps” so called services.
It’s an architectural design style that can divide code with different services less reliant on each other (ex. monorepository)
CommonJS
Modular code system primarily on server-side scripting/node.
Modules = reusable code synchronously loaded (meaning if something in the code doesn’t work then the execution of code stops there)
WebMVC
Model view controller
A design pattern for handling user data/actions. Frontend and backend have separate patterns but can handle the same data/actions.
Model:
- Handles logic, ex. like post
Controller:
- Handles the user request, calling the model
View:
- What the user sees before and after its request
Multi tier architecture
Separating an application into most commonly presentation tier (frontend), logic tier (backend) and data tier (database)
Twelve-factor-app
Modern methodology for building scalable, maintainable SaaS (Software as a Service) apps (cloud based apps) that are easily deployed in cloud environments
YAML
Human readable data serialization format
Simple and clear for defining data but less structured than JSON and XML
Edge computing
Computing (handling) data at the location it’s needed so it’s not relying too much on cloud infrastructure which improves latency and bandwidth
Ex. phone security camera etc
Require
CommonJS syntax for importing modules, synchronously. Commonly used in Nodejs
Express
Web App framework for Nodejs that includes routing, middleware management and HTTP requests and responses so you don’t have to set it up manually. Simplified server-side scripting.
Enviroment variables
Declare variables for your environment (they can differ between environments) such as API endpoints or settings
Keep sensitive information in environment files (.env)
Readme
MD file for documentation that developers need on information about the project such as installations
Node
Nodejs
Open source (available for all) cross platform (available across different systems, windows, mac, linux etc) JavaScript runtime enviroment (uses JavaScript)
Asynchronous handling of real time data for building primarily backend scaleble high performance applications
Import
Are ES6 modules
Hoisted
Named, unnamed = static import
import() = dynamic import (asynchronous import)
Component
In frontend:
Reusable, self contained UI. Class based or functional. Receive data via props
In general:
Micro service or modular system for specific independent functionality