Tagged articles

Abstract Factory

10 articles · Page 1 of 1
Dabaoshi
Dabaoshi
Aug 5, 2026 · Fundamentals

Abstract Factory Pattern: Building Whole Product Families, Not Just Single Products

The article explains the Abstract Factory pattern by contrasting product families with product hierarchies, showing why the Factory Method fails for bundled products, presenting the pattern's structure and code, and detailing its open‑closed principle tilt and appropriate usage scenarios.

Abstract FactoryDesign PatternsJava
0 likes · 17 min read
Abstract Factory Pattern: Building Whole Product Families, Not Just Single Products
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
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Mar 21, 2024 · Fundamentals

Refactoring Multi‑Board SDK Integration Using Abstract Factory, Adapter, and Facade Patterns

The article analyzes a multi‑board Android SDK integration problem, identifies hard‑coded type checks and inconsistent APIs, and proposes a refactor that employs the Abstract Factory, Adapter, and Facade design patterns with Kotlin examples to achieve loose coupling, extensibility, and clearer business concepts.

Abstract FactoryAdapter PatternDesign Patterns
0 likes · 10 min read
Refactoring Multi‑Board SDK Integration Using Abstract Factory, Adapter, and Facade Patterns
Baidu Geek Talk
Baidu Geek Talk
Sep 2, 2022 · Fundamentals

Understanding Factory Patterns: Simple Factory, Factory Method, and Abstract Factory with Code Samples

The article explains the Factory design pattern’s three main variants—Simple Factory for limited product types, Factory Method for extensible hierarchies, and Abstract Factory for creating families of related objects—illustrated with Java code examples for document parsing, automated testing, and cross‑platform membership systems.

Abstract FactoryDesign PatternsFactory Pattern
0 likes · 11 min read
Understanding Factory Patterns: Simple Factory, Factory Method, and Abstract Factory with Code Samples
Intelligent Backend & Architecture
Intelligent Backend & Architecture
May 5, 2021 · Fundamentals

Master Creational Design Patterns: Singleton, Prototype, Factory, Abstract Factory & Builder Explained

This comprehensive guide explains creational design patterns—including Singleton, Prototype, Factory Method, Abstract Factory, and Builder—detailing their definitions, characteristics, structures, Java implementations, code examples, and typical application scenarios for reducing coupling and improving flexibility in software development.

Abstract FactoryBuilderfactory-method
0 likes · 32 min read
Master Creational Design Patterns: Singleton, Prototype, Factory, Abstract Factory & Builder Explained
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Sep 26, 2020 · Fundamentals

Understanding Factory Patterns: Simple Factory, Factory Method, and Abstract Factory with Spring Dependency Injection

This article explains the three common factory design patterns—simple factory, factory method, and abstract factory—illustrates their Java implementations with product and factory classes, demonstrates client usage, and shows how Spring's dependency injection can replace manual factory instantiation, providing a comprehensive guide for developers.

Abstract FactoryDependency InjectionDesign Patterns
0 likes · 7 min read
Understanding Factory Patterns: Simple Factory, Factory Method, and Abstract Factory with Spring Dependency Injection
Programmer DD
Programmer DD
Aug 26, 2017 · Backend Development

How Spring Framework Uses Interpreter, Builder, Factory Method, and Abstract Factory Patterns

This article explains how Spring Framework applies four classic design patterns—Interpreter, Builder, Factory Method, and Abstract Factory—to simplify object creation and configuration, providing clear Java code examples, Spring bean definitions, and a discussion of their roles within the framework.

Abstract FactoryBuilderDesign Patterns
0 likes · 13 min read
How Spring Framework Uses Interpreter, Builder, Factory Method, and Abstract Factory Patterns