Catalog

Scenarios

Browse real-world architecture and integration problems, then explore the patterns that help solve them.

What problem are you solving?

Search real-world problems or narrow the catalog by pattern.

Showing 96 scenarios

API request construction

Assemble a complex API request step by step before sending it.

Builder0 technologies
View scenario →

Access control proxy

Check permissions before allowing operations on a sensitive resource.

Proxy0 technologies
View scenario →

Account onboarding

Coordinate account creation, profile setup, email verification, and welcome messaging through one onboarding operation.

Facade0 technologies
View scenario →

Admin action queue

Record administrative exports, notifications, and recalculations as commands for later execution.

Command0 technologies
View scenario →

Air traffic mediator

Coordinate aircraft landing and takeoff decisions through an air-traffic-control mediator.

Mediator0 technologies
View scenario →

Analytics stack kit

Create a compatible family of data ingestion, transformation, and persistence components for a selected analytics pipeline.

Abstract Factory0 technologies
View scenario →

Application config singleton

Load environment settings once and serve the same shared configuration throughout the application.

Singleton0 technologies
View scenario →

Approval workflow chain

Pass an expense request through approvers according to amount and policy constraints.

View scenario →

Boolean rule interpreter

Interpret boolean conditions against a context object in a simple rules engine.

Interpreter0 technologies
View scenario →

Cache manager singleton

Maintain one shared in-memory cache so all application components reuse the same stored data.

Singleton0 technologies
View scenario →

Cart visitor

Calculate pricing and discounts across cart item types without coupling pricing behavior to products.

Visitor0 technologies
View scenario →

Character creation

Build a game character with a name, class, and class-dependent statistics step by step.

Builder0 technologies
View scenario →

Chat room mediator

Route user messages through a chat-room mediator instead of direct user-to-user communication.

Mediator0 technologies
View scenario →

Checkout workflow

Expose one order-placement operation that coordinates authentication, payment, inventory, and notification subsystems.

Facade0 technologies
View scenario →

Cloud provider kit

Create matching storage, queue, and compute clients for a selected cloud provider.

Abstract Factory0 technologies
View scenario →

Coffee customization

Add extras such as milk, mocha, and whip to a base drink while composing behavior and cost.

Decorator0 technologies
View scenario →

Command interpreter

Parse a command string into operations that an interpreter executes in order.

Interpreter0 technologies
View scenario →

Configuration assembly

Build a runtime configuration object from many optional settings.

Builder0 technologies
View scenario →

Dashboard widget tree

Group widgets and widget containers so layout and rendering recurse over one structure.

Composite0 technologies
View scenario →

Data import template

Use a standard import pipeline while file formats customize parsing and validation.

Template Method0 technologies
View scenario →

Data source abstraction

Read reporting data from SQL, API, or file-based sources without changing reporting logic.

Bridge0 technologies
View scenario →

Device OS kit

Create UI and system service implementations tailored to a device family or operating platform.

Abstract Factory0 technologies
View scenario →

Device setup

Run device pairing, configuration, and health checks through one setup operation.

Facade0 technologies
View scenario →

Document composition

Assemble invoices, contracts, or letters from reusable document sections.

Builder0 technologies
View scenario →

Document export

Choose an exporter for PDF, CSV, or other output formats while keeping the reporting workflow consistent.

Factory Method0 technologies
View scenario →

Document suite

Create matching export handlers for PDF, HTML, and spreadsheet document outputs.

Abstract Factory0 technologies
View scenario →

Document template clone

Clone a preconfigured document template to create new reports with shared layout and styling.

Prototype0 technologies
View scenario →

Document visitor

Export or inspect document nodes while keeping those operations outside the document-node classes.

Visitor0 technologies
View scenario →

Event payload mapper

Convert incoming event payloads into the normalized analytics event shape used by the system.

Adapter0 technologies
View scenario →

Expression interpreter

Represent an arithmetic expression as terminal and non-terminal expression nodes and evaluate the resulting tree.

Interpreter0 technologies
View scenario →

File storage

Wrap file storage with optional compression and encryption before persistence.

Decorator0 technologies
View scenario →

File system composite

Treat files and folders through one interface so nested file-system structures can be processed uniformly.

Composite0 technologies
View scenario →

Form command chain

Check a form submission with sanitization, validation, and policy handlers before saving it.

View scenario →

Form state memento

Preserve a multi-step form draft so it can be restored after navigation or interruption.

Memento0 technologies
View scenario →

Game character clone

Clone a base character prototype to create variant enemies or allies with shared statistics and equipment.

Prototype0 technologies
View scenario →

Game environment kit

Create related terrain, enemy, and visual-effect assets for a chosen game environment.

Abstract Factory0 technologies
View scenario →

Game save memento

Store game save points so players can restore progress later.

Memento0 technologies
View scenario →

Game tile flyweight

Reuse terrain definitions while map tiles retain only coordinates and local effects.

Flyweight0 technologies
View scenario →

HTTP client

Wrap an HTTP client with caching and metrics without changing its request interface.

Decorator0 technologies
View scenario →

Home theater startup

Simplify a multi-device home-theater startup sequence into one watch-movie operation.

Facade0 technologies
View scenario →

Job queue processing

Store jobs as commands so they can be submitted now and executed later by a worker.

Command0 technologies
View scenario →

Legacy payment gateway integration

Translate a legacy payment gateway API into the checkout service interface used by the application.

Adapter0 technologies
View scenario →

Logger singleton

Use one shared logger instance so every component writes through the same output pipeline.

Singleton0 technologies
View scenario →

Logger transport

Select console, file, or remote logger transports through specialized creators for different environments.

Factory Method0 technologies
View scenario →

Logging, metrics, and tracing

Layer logging, metrics, and tracing around a core operation while keeping cross-cutting concerns separate.

Decorator0 technologies
View scenario →

Macro command sequence

Bundle several actions into a reusable macro that runs from one trigger.

Command0 technologies
View scenario →

Media player state

Change media-player behavior when playback is playing, paused, or stopped.

State0 technologies
View scenario →

Menu composite

Represent menu items and submenus together so the UI can render or invoke them consistently.

Composite0 technologies
View scenario →

News publisher

Notify subscribers when a new article is published so applications and channels update automatically.

Observer0 technologies
View scenario →

Notification channel

Create channel-specific email, SMS, or push senders without changing the notification workflow.

Factory Method0 technologies
View scenario →

Notification channels

Wrap a base notifier with email, SMS, or Slack delivery layers to send one message through multiple channels.

Decorator0 technologies
View scenario →

Notification delivery

Wrap notification delivery with logging and retry behavior while preserving the same send contract.

Decorator0 technologies
View scenario →

Notification delivery

Select a delivery-channel strategy without requiring callers to manage channel-specific branching.

Strategy0 technologies
View scenario →

Notification delivery

Send the same notification through email, SMS, or push channels without changing the sending flow.

Bridge0 technologies
View scenario →

Notification routing chain

Route a message through preference checks, channel selection, and fallback handlers.

View scenario →

Order processing template

Use one high-level order-processing sequence while varying validation and fulfillment details by order type.

Template Method0 technologies
View scenario →

Order state

Change order behavior as an order moves from pending to processing to shipped.

State0 technologies
View scenario →

Order status notifications

Broadcast order-status changes so email, warehouse, and analytics consumers react independently.

Observer0 technologies
View scenario →

Organization chart composite

Use a common component interface for employees and managers to traverse an organization hierarchy recursively.

Composite0 technologies
View scenario →

Pagination iterator

Walk through paginated data without revealing how pages are stored or retrieved.

Iterator0 technologies
View scenario →

Password validation chain

Pass a password through several validation rules before accepting it.

View scenario →

Payment processing

Delegate payment behavior to a selected strategy while keeping the checkout flow stable.

Strategy0 technologies
View scenario →

Payment routing

Route checkout payments through different payment providers while keeping the checkout API stable.

Bridge0 technologies
View scenario →

Permission group hierarchy

Nest roles and permission groups so aggregate permissions can be evaluated recursively.

Composite0 technologies
View scenario →

Pizza order construction

Assemble a pizza order with a selected size, crust, toppings, and extras.

Builder0 technologies
View scenario →

Playlist iterator

Expose playlist songs one at a time through a custom iterator.

Iterator0 technologies
View scenario →

Printer driver layer

Print documents through interchangeable local, network, or cloud printer drivers.

Bridge0 technologies
View scenario →

Product config clone

Clone a product-configuration prototype to generate similar catalog items with small differences.

Prototype0 technologies
View scenario →

Remote control actions

Bind remote-control buttons to commands that trigger device actions without device-specific invoker logic.

Command0 technologies
View scenario →

Remote control bridge

Control TVs, speakers, and streaming devices through interchangeable device implementations.

Bridge0 technologies
View scenario →

Remote service proxy

Wrap a remote service call so clients can interact with it like a local object.

Proxy0 technologies
View scenario →

Report generation

Assemble a report from headers, body sections, charts, and footers.

Builder0 technologies
View scenario →

Report generation

Hide data collection, formatting, rendering, and delivery behind one report-generation operation.

Facade0 technologies
View scenario →

Report generation template

Use one report-generation flow while different report types customize data collection and formatting.

Template Method0 technologies
View scenario →

Request middleware chain

Process a web request through logging, authentication, rate-limiting, and transformation handlers.

View scenario →

Scene graph composite

Represent shapes and containers in a scene graph so rendering and transforms recurse through the hierarchy.

Composite0 technologies
View scenario →

Shape renderer bridge

Render shapes through screen, canvas, or SVG backends without changing shape behavior.

Bridge0 technologies
View scenario →

Shape visitor

Apply rendering or measurement operations to shapes without changing the shape classes.

Visitor0 technologies
View scenario →

Shipping cost calculation

Choose a shipping-cost algorithm by delivery type without one large conditional block.

Strategy0 technologies
View scenario →

Stock price alerts

Notify dashboards and alert services whenever a tracked stock price changes.

Observer0 technologies
View scenario →

Support ticket chain

Route a support ticket through handlers until the appropriate support level processes it.

View scenario →

Text editor memento

Store text-editor content snapshots so a user can undo changes.

Memento0 technologies
View scenario →

Text editor undo

Wrap text insertion operations in commands that can be executed and later undone from history.

Command0 technologies
View scenario →

Text formatting

Wrap a text component with bold, italic, and underline formatting without modifying the original component.

Decorator0 technologies
View scenario →

Text formatting flyweight

Reuse character-style objects across many glyphs while keeping position and content-specific state separate.

Flyweight0 technologies
View scenario →

Third-party task API integration

Normalize a third-party task payload into the application’s internal task model.

Adapter6 technologies
View scenario →

Traffic light state

Change traffic-light behavior according to whether the light is red, yellow, or green.

State0 technologies
View scenario →

Tree rendering flyweight

Share tree-type data across many tree instances to reduce memory use in a forest renderer.

Flyweight0 technologies
View scenario →

Tree traversal iterator

Traverse a tree in order without exposing its internal node structure.

Iterator0 technologies
View scenario →

UI accessibility enhancement

Wrap a UI component with labels, keyboard handling, and hints without changing the base component.

Decorator0 technologies
View scenario →

UI form assembly

Construct a multi-step user interface with fields, validation, and actions.

Builder0 technologies
View scenario →

UI mediator

Coordinate form-control enabling, validation, and updates through a UI mediator.

Mediator0 technologies
View scenario →

UI theme kit

Create matching UI controls for a selected light or dark application theme.

Abstract Factory0 technologies
View scenario →

Video conversion pipeline

Wrap several media-processing steps behind one video conversion operation.

Facade0 technologies
View scenario →

Virtual image proxy

Delay loading high-resolution images until an image is actually displayed.

Proxy0 technologies
View scenario →

Workflow step command

Model each business-process step as a command invoked by a workflow coordinator.

Command0 technologies
View scenario →