Method of Real-Time Communication
An overview of methods for implementing real-time communication in web applications.
An overview of methods for implementing real-time communication in web applications.
Scaling a system from zero to millions of users requires a clear roadmap.
A comprehensive guide to setting up internationalization (i18n) in a Next.js project, enabling support for multiple languages and locales.
A necessary setup for a Nextjs project.
To understand what is non-blocking I/O in JavaScript and keep it in mind while coding.
Introduction to the internet and web version includes web1.0, web2.0, web3.0, and web4.0
Overview of React Pattern
Optimize parallel processing in React application by using Scatter-Gather pattern, Work-stealing pattern
Web Worker
The summary of authentication models which help you to make decision with authentication to your project.
Comparison of build tools when coding with Typescript.
Solutions for String Compression.
Singleton pattern - Create only one instance on the application lifecycle.
Overview design pattern - OOP design.
A method to connect multiple standalone objects
A way to structure a group of objects
Create a layer to connect an old layer to a new layer
The different between regular function and arrow function.
The summarize of copy method in javascript.
An object needs to be cloned from an existing object.
There are many variations for one type; instead of passing parameters to the constructor, using a builder is more convenient.
Using the Factory Method Pattern to add many types within the same family is considered an Abstract Factory.
If there is only one factory for all Products, it is no longer the Factory Method but a Simple Factory.
Use it when you anticipate that a class or module will have many variations and will be used in multiple places.
Used to break down large interfaces into smaller ones for easier maintenance and extension.
When adhering to this principle, derived classes should be substitutable for their base classes without altering the correctness of the program.
The Open-Closed Principle (OCP) is used to achieve an extensible design for maintaining modules or classes. The principle itself applies to both classes and modules.
Use when you estimate the class can be reused in many places and has the potential for extension.
The different between ??, ||, !!, ??=, &&= ...
An immutable value is a variable's value that cannot be changed without creating an entirely new value.
Distinguish Coupling and Cohesion.
Horizontal scaling can be understood as scaling out by duplicating, while vertical scaling involves upgrading the resources of the individual instance.
The 4 Principles of Object-Oriented Programming must be remember.
The different between horizontal scale and vertical scale.
Access modifier - using getter, setter to access property in typescript.
Execution context is the environment where code is executed, consisting of three main contexts...
The mechanism of garbage collection in javascript.
Using commit conventions makes it easy to read, easy to find, and reading commit content can also understand the scope and content of code changes.
The overview of SOLID.