Acronyms and Definitions
MFE - Microfrontends
An organizational and architectural pattern that segregates responsibilities by business unit or team. It allows for independent deployments by team.
POJO - Plain Old JavaScript Object
A simple JavaScript object with simple properties requiring no dependencies within it.
SPA - Single Page Application
An application providing the user a single page. The page changes DOM elements dynamically typically through the use of a front end framework, like Angular, React, or Vue. These types of applications do not refresh the entire page alleviating wait times and leave the web browser, rather than the web server, responsible for rendering markup and navigation.
SSE - Server Sent Events
A server push technology that creates a one-way stream based on an open HTTP connection.
Feature Module
An Angular module that consists of smart routable components and services specific to the feature. These components orchestrate the interaction between user driven events and invoke the necessary services.
e.g. ProfileModule
that allows a user to configure their profile information which saves profile information.
Monorepository
One repository that supports multiple applications and libraries.
Can benefit contributing teams for upgrading, code standards, and deployments.
DRY
Don't Repeat Yourself - The idea that writing code once to solve a common problem.
Example: https://www.npmjs.com/package/@ngserveio/utilities - This consists of a set of utility functions that would otherwise repeat in multiple areas of the code.
Presentation Component
An Angular component that's is not hooked into data services and meant for display purposes. Contains @Input
and @Output
properties allowing the consuming component to push data input the component and handle events.
SCAM - Single Component Angular Module
An Angular pattern that modularize one component to Angular Module. This alleviates the need to import more components than necessary for consumers and allow for better tree shaking for libraries.
Server Side Rendering
When a browser makes a request for content, the server sends all HTML markup to support the rendering of a page. This is still common practice for sites that are dynamic in content and need to send markup quickly to the client. It's good for crawlers too for indexing where it doesn't rely on the browser to render markup as practices would with SPA applications.
Long Polling
A method in which a client makes HTTP requests until a desired response is received or looking to return fresh data after a certain amount of time.
This can be useful in the case of asynchronous operations and no web hook events are available. See Google Cloud SQL - Import 100k+ Records to MySQL for an example.