Tag: decoupling
Browse 11 practical software engineering resources tagged with "decoupling". Discover code recipes, design patterns, documentation templates, and in-depth guides to help you build, deploy, and maintain production-ready solutions involving decoupling. Each resource is written for engineers who ship real systems, with copy-paste examples and practical trade-offs.
Decoupling and Modularity
Decoupling reduces dependencies between components, making systems easier to change, test, and scale. It is a key principle of maintainable architecture.
The resources below cover dependency injection, interfaces, events, message queues, and modular design. Each guide shows how to reduce coupling without over-engineering.
Every resource includes clear explanations, copy-paste code, and practical warnings. Use them to make informed decisions, avoid production pitfalls, and speed up your delivery. If you are just getting started, read the beginner-friendly articles first; if you are experienced, jump straight to the advanced patterns and architecture guides. New resources are added regularly, so bookmark this page and check back for the latest patterns.
Bridge Pattern: Decouple Abstraction from Implementation
Split a class into two hierarchies — abstraction and implementation — so both can evolve...
Business Delegate Pattern
Reduce coupling between presentation and business tiers by introducing an intermediary that handles...
Context Object Pattern: Examples
Learn the Context Object Pattern to reduce parameter bloat. Practical examples in Python, Java, and...
Dependency Injection Pattern
Supply dependencies from outside rather than creating them internally. An architectural pattern for...
Domain Event Pattern
Capture and publish major occurrences within a domain model to decouple side effects from core...
Event Bus Pattern
Decouple components by routing events through a central bus. A behavioral pattern for loosely...
Mediator Pattern
Define an object that encapsulates how a set of objects interact. A behavioral design pattern for...
Producer-Consumer Pattern
Decouple production and consumption with a shared queue. Producers generate items at their own...
Publish-Subscribe Pattern
Broadcast events to multiple independent subscribers. Publishers send messages to a topic without...
Queue-Based Load Leveling Pattern: Smooth Traffic Spikes with Message Queues
Use Queue-Based Load Leveling to decouple producers and consumers, absorb traffic spikes, and...
Registry Pattern
Centralize access to shared services and objects via a lookup table. A structural pattern that...