Blog

Filter by tag:
All (39) algo (1)architecture (4)design-pattern (9)git (1)guide (4)i18n (1)internationalization (1)javascript (12)nestjs (1)nextjs (2)principle (6)react (4)real-time (1)scaling (1)software (21)system (1)typescript (9)

Scaling a System from Zero

Scaling a system from zero to millions of users requires a clear roadmap.

softwaresystemscaling

Implement i18n Configuration for Next.js Project

A comprehensive guide to setting up internationalization (i18n) in a Next.js project, enabling support for multiple languages and locales.

reactnextjssoftwarejavascripti18ninternationalization

Internet and Web Version

Introduction to the internet and web version includes web1.0, web2.0, web3.0, and web4.0

softwarearchitecture

Authentication models

The summary of authentication models which help you to make decision with authentication to your project.

software

Singleton

Singleton pattern - Create only one instance on the application lifecycle.

typescriptdesign-pattern

Design pattern

Overview design pattern - OOP design.

typescriptdesign-pattern

[Structural] Bridge

A method to connect multiple standalone objects

typescriptdesign-pattern

[Structural] Adapter

Create a layer to connect an old layer to a new layer

typescriptdesign-pattern

Prototype pattern

An object needs to be cloned from an existing object.

typescriptdesign-pattern

Builder Pattern

There are many variations for one type; instead of passing parameters to the constructor, using a builder is more convenient.

typescriptdesign-pattern

Abstract Factory

Using the Factory Method Pattern to add many types within the same family is considered an Abstract Factory.

typescriptdesign-pattern

Factory Method

If there is only one factory for all Products, it is no longer the Factory Method but a Simple Factory.

typescriptdesign-pattern

[SOLID] Liskov Substitution Principle

When adhering to this principle, derived classes should be substitutable for their base classes without altering the correctness of the program.

principlesoftware

[SOLID] Open-Close Principle

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.

principlesoftware

Immutable in Javascrip

An immutable value is a variable's value that cannot be changed without creating an entirely new value.

javascript

Horizontal vs Vertical scale

Horizontal scaling can be understood as scaling out by duplicating, while vertical scaling involves upgrading the resources of the individual instance.

softwarearchitecture

Access Modifiers

Access modifier - using getter, setter to access property in typescript.

javascriptsoftware

Execution Context

Execution context is the environment where code is executed, consisting of three main contexts...

javascript

Garbage collection

The mechanism of garbage collection in javascript.

javascript

Commit convention

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.

gitguide

SOLID Principle

The overview of SOLID.

principlesoftware