liandk
Author

liandk

Seasoned Java and mobile developer with years of experience, specializing in mini‑programs, public accounts, and full‑stack front‑end development. In the AI era, I continuously learn to broaden my knowledge and evolve. I revived a public account I started a decade ago during a dessert‑startup venture, using code as a vessel and knowledge as a companion. I share personal projects, technical articles, programming tips, and growth insights—let’s improve together and set sail.

64
Articles
0
Likes
7
Views
0
Comments
Recent Articles

Latest from liandk

64 recent articles
liandk
liandk
Jun 19, 2026 · Fundamentals

Bridge Pattern Explained with Code and Real-World Scenarios

This article introduces the Bridge design pattern, explains its purpose of separating two independent dimensions to reduce class explosion, provides practical real‑world examples, and walks through a complete Java implementation with interface, abstract bridge, concrete classes, and a test driver.

Bridge PatternDesign PatternObject-Oriented
0 likes · 5 min read
Bridge Pattern Explained with Code and Real-World Scenarios
liandk
liandk
Jun 18, 2026 · Backend Development

How to Set Up the Development Environment for the Litemall Micro‑Mall Project

This guide walks you through installing IntelliJ IDEA, VS Code, and the WeChat Developer Tool, configuring the MySQL connection to a cloud server, loading the Maven backend project, launching the Spring Boot APIs, and running the Vue admin, Vue mobile, and WeChat mini‑program front‑ends while verifying end‑to‑end connectivity.

IntelliJ IDEALitemallSpring Boot
0 likes · 10 min read
How to Set Up the Development Environment for the Litemall Micro‑Mall Project
liandk
liandk
Jun 17, 2026 · Databases

How to Deploy MySQL 8.0 in Docker on veLinux2 – Step‑by‑Step Guide

This guide walks through deploying MySQL 8.0 in a Docker container on veLinux 2, covering environment requirements, configuring a domestic Docker mirror, pulling the image, running the container with persistence and remote‑access settings, opening firewall ports, granting remote root privileges, and verifying the service.

DockerLinuxcontainer
0 likes · 5 min read
How to Deploy MySQL 8.0 in Docker on veLinux2 – Step‑by‑Step Guide
liandk
liandk
Jun 17, 2026 · Fundamentals

Prototype Pattern Explained with Code and Real‑World Scenarios

This article introduces the Prototype design pattern, explains its purpose of cloning existing objects to avoid costly construction, illustrates practical scenarios such as product templates and game asset generation, provides a complete Java shallow‑copy example, and highlights common pitfalls and differences from the Factory pattern.

CloneableObject CloningPrototype Pattern
0 likes · 4 min read
Prototype Pattern Explained with Code and Real‑World Scenarios
liandk
liandk
Jun 16, 2026 · Fundamentals

Builder Pattern Explained: Simple Theory, Real‑World Scenarios & Java Code

This article introduces the Builder design pattern, illustrates its concept with everyday analogies like milk‑tea making, and provides a complete Java example that assembles a computer through step‑by‑step builders, followed by a summary of typical business use cases and a tip on avoiding confusion with the Factory pattern.

Builder PatternObject Constructiondesign patterns
0 likes · 5 min read
Builder Pattern Explained: Simple Theory, Real‑World Scenarios & Java Code
liandk
liandk
Jun 16, 2026 · Fundamentals

Understanding the Abstract Factory Pattern: Theory, Real‑World Scenarios, and Java Code

The article explains how the Abstract Factory pattern creates whole families of related objects—contrasting it with the Factory Method—illustrates practical scenarios such as phone accessories, UI themes, and payment suites, provides step‑by‑step Java code, lists common use cases, and discusses its limitations.

Abstract FactoryFactory Methoddesign patterns
0 likes · 6 min read
Understanding the Abstract Factory Pattern: Theory, Real‑World Scenarios, and Java Code
liandk
liandk
Jun 14, 2026 · Fundamentals

Factory Method Pattern: Clear Explanation, Code Example, and Real-World Scenarios

This article explains the Factory Method design pattern, illustrates its core principle of separating object creation from business logic, presents everyday analogies, and provides a complete Java implementation with abstract product, concrete products, abstract factory, concrete factories, and a test driver.

DecouplingDesign PatternFactory Method
0 likes · 4 min read
Factory Method Pattern: Clear Explanation, Code Example, and Real-World Scenarios
liandk
liandk
Jun 13, 2026 · Fundamentals

Singleton Pattern: Simple Explanation, Java Code Samples, and Real‑World Use Cases

The article explains the Singleton pattern—ensuring a class has only one global instance—to save resources and avoid conflicts, illustrates two Java implementations (eager and lazy), and lists typical scenarios such as logging utilities, connection pools, global configuration, and exclusive resources.

Design PatternEager InitializationLazy Initialization
0 likes · 4 min read
Singleton Pattern: Simple Explanation, Java Code Samples, and Real‑World Use Cases
liandk
liandk
Jun 13, 2026 · Fundamentals

23 Essential Design Patterns – Complete List with Visuals

This article presents a comprehensive, mobile‑friendly catalog of 23 classic design patterns, organized into Creational, Structural, and Behavioral groups, offering clear names and categories that developers can copy and use as a quick reference for learning and applying design patterns.

BehavioralCreationalStructural
0 likes · 2 min read
23 Essential Design Patterns – Complete List with Visuals
liandk
liandk
Jun 12, 2026 · Mobile Development

UniApp Guide: Select Media, Capture Photos, Record Video, and Scan Codes with Ready‑to‑Copy Code

This article explains how to prioritize UniApp's built‑in APIs (uni.chooseMedia and uni.scanCode) for media selection, photo capture, video recording, and QR/barcode scanning, provides copy‑paste‑ready code snippets, permission configurations, fallback native plugins, installation steps, and common pitfalls.

UniAppchooseMediamobile development
0 likes · 7 min read
UniApp Guide: Select Media, Capture Photos, Record Video, and Scan Codes with Ready‑to‑Copy Code