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.

129
Articles
0
Likes
698
Views
0
Comments
Recent Articles

Latest from liandk

100 recent articles max
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 FactoryDesign PatternsJava
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 PatternJava
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 InitializationJava
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.

CreationalDesign PatternsStructural
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.

Mobile DevelopmentUniAppchooseMedia
0 likes · 7 min read
UniApp Guide: Select Media, Capture Photos, Record Video, and Scan Codes with Ready‑to‑Copy Code
liandk
liandk
Jun 8, 2026 · Fundamentals

Create a dev Branch from Local main and Push It to Remote with Git

This guide walks through the step‑by‑step Git commands needed to ensure your local repository is up‑to‑date, create a new dev branch from the main/master branch, push it to the remote, set the upstream tracking, and verify the result in common development scenarios.

Gitbranchdev
0 likes · 4 min read
Create a dev Branch from Local main and Push It to Remote with Git
liandk
liandk
Jun 4, 2026 · Fundamentals

How to Merge a Feature Branch PR into the dev Branch Without Conflicts

This guide walks through a zero‑conflict workflow for merging a feature branch into the dev branch, covering local finalization, pulling the latest dev, merging locally, pushing the feature branch, and creating a GitHub pull request with the correct base and compare settings.

GitWorkflowdev-branch
0 likes · 2 min read
How to Merge a Feature Branch PR into the dev Branch Without Conflicts
liandk
liandk
Jun 3, 2026 · Fundamentals

Resolve Git File Conflicts in One Simple Step

This guide walks you through opening the conflicted file, removing Git conflict markers, choosing between keeping the local version or the remote version, and finalizing the fix with three Git commands, ensuring the error is eliminated.

Gitcommand lineconflict resolution
0 likes · 3 min read
Resolve Git File Conflicts in One Simple Step
liandk
liandk
Jun 2, 2026 · Fundamentals

Git Fetch vs Pull: What’s the Real Difference and How to Avoid Code Chaos

Many Git beginners rely on git pull, leading to unexpected merge conflicts and overwritten local changes, while most don’t understand that git fetch only downloads updates without merging; this article explains the core distinction, provides a clear analogy, and offers a safe step‑by‑step workflow.

GitWorkflowcode conflict
0 likes · 4 min read
Git Fetch vs Pull: What’s the Real Difference and How to Avoid Code Chaos
liandk
liandk
Jun 2, 2026 · Frontend Development

Beginner’s Guide: Named Export vs Default Export for getToken in JS/TS

The article explains why having both a named export and a default export for getToken in a JavaScript/TypeScript module is not a conflict, detailing their distinct syntax, import styles, appropriate use cases, and providing complete code examples for each approach.

JavaScriptTypeScriptdefault export
0 likes · 5 min read
Beginner’s Guide: Named Export vs Default Export for getToken in JS/TS