Tagged articles

ports-and-adapters

5 articles · Page 1 of 1
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 9, 2026 · Backend Development

5 Tips to Keep Your Spring Service Clean and High‑Quality

This article presents five practical patterns—single‑use‑case classes, a lightweight Facade, self‑validating input records, domain‑event side‑effects, and ports‑and‑adapters—that transform monolithic Spring @Service classes into modular, readable, testable, and transaction‑safe components, improving maintainability and extensibility.

Clean ArchitectureDomain EventsFacade
0 likes · 15 min read
5 Tips to Keep Your Spring Service Clean and High‑Quality
ZhiKe AI
ZhiKe AI
Jun 4, 2026 · Fundamentals

Why Hexagonal Architecture Is About Ports and Adapters, Not the Hexagon Shape

Hexagonal Architecture’s true essence lies in its ports‑and‑adapters structure and technology‑agnostic core, not the six‑sided diagram, and the article explains this concept, its driving vs. driven sides, its relation to DIP, common misconceptions, and how it aligns with Clean and Onion architectures.

Clean ArchitectureDependency Inversion PrincipleOnion Architecture
0 likes · 11 min read
Why Hexagonal Architecture Is About Ports and Adapters, Not the Hexagon Shape
Subtle Storm
Subtle Storm
Jun 1, 2026 · Fundamentals

Why Hexagonal Architecture Boosts Testability, Maintainability, and Flexibility

Hexagonal (Ports‑and‑Adapters) architecture, introduced by Alistair Cockburn in 2005, separates core business logic from external concerns through defined ports and interchangeable adapters, enhancing testability, maintainability, and technology‑agnostic flexibility, and is especially suited for complex domains requiring multiple interfaces such as REST and message queues.

Javahexagonal-architecturemaintainability
0 likes · 5 min read
Why Hexagonal Architecture Boosts Testability, Maintainability, and Flexibility
Architects Research Society
Architects Research Society
Feb 10, 2023 · Fundamentals

Understanding Hexagonal Architecture: Principles and Implementation Example

The article explains the three core principles of Hexagonal (Ports‑and‑Adapters) Architecture, illustrates how to separate application, domain, and infrastructure code with concrete C# examples, and shows how this separation improves testability, dependency inversion, and modular design.

Dependency InversionDomain-Driven Designhexagonal-architecture
0 likes · 18 min read
Understanding Hexagonal Architecture: Principles and Implementation Example
Architects Research Society
Architects Research Society
Aug 24, 2021 · Fundamentals

Understanding Hexagonal Architecture: Principles and Implementation Example

Hexagonal Architecture, introduced by Alistair Cockburn in 2005 and revived since 2015, separates application, domain, and infrastructure layers using ports and adapters, enabling isolated testing, clear dependency direction, and flexible code organization, illustrated with a console‑based poem‑printing example and detailed implementation guidelines.

Dependency Inversionhexagonal-architectureports-and-adapters
0 likes · 17 min read
Understanding Hexagonal Architecture: Principles and Implementation Example