Alibaba Terminal Technology
Alibaba Terminal Technology
Apr 13, 2022 · Frontend Development

Boost Front‑End Reliability with Real‑World RxJS Anti‑Corruption Layer Patterns

This article demonstrates how to use RxJS Observable to build robust front‑end anti‑corruption layers, covering stability improvement, splash‑screen timing, automatic fast‑API selection, race‑condition handling, and high‑order data composition with practical code examples and online demos.

Anti‑Corruption LayerData compositionfrontend
0 likes · 12 min read
Boost Front‑End Reliability with Real‑World RxJS Anti‑Corruption Layer Patterns
Alibaba Cloud Developer
Alibaba Cloud Developer
Mar 16, 2022 · Frontend Development

How to Build a Frontend Anti‑Corruption Layer with RxJS to Shield Against API Changes

This article explains why B2B front‑end applications suffer from frequent API changes, introduces the anti‑corruption layer concept adapted from HAL and DDD, and demonstrates how to implement a robust, RxJS‑based layer that isolates UI code from evolving back‑end contracts while offering caching, fallback, and testing benefits.

API stabilityAnti‑Corruption LayerJavaScript
0 likes · 15 min read
How to Build a Frontend Anti‑Corruption Layer with RxJS to Shield Against API Changes
Alibaba Cloud Developer
Alibaba Cloud Developer
Apr 28, 2021 · Backend Development

How to Refactor Monolithic Checkout Code into Clean DDD Modules

This article explains how to identify and refactor typical “流水账” (spaghetti) code in a checkout API by applying Domain‑Driven Design layers—splitting responsibilities into Interface, Application, and Domain layers, using CQE objects, DTO assemblers, and anti‑corruption facades to achieve clear, maintainable modules.

Anti‑Corruption LayerCQEDDD
0 likes · 32 min read
How to Refactor Monolithic Checkout Code into Clean DDD Modules
DeWu Technology
DeWu Technology
Mar 26, 2021 · Backend Development

Summary of DDD Layered Architecture for the Bidding Team

The Bidding Team’s DDD layered architecture consolidates all traffic in an Interfaces layer, uses a thin Application service layer to orchestrate use‑cases, places core business rules in Domain aggregates, isolates data access in Infrastructure, adds an Anti‑Corruption adapter, and employs DTOs, entities, and domain events for decoupled, consistent processing.

Anti‑Corruption LayerDDDDomain-Driven Design
0 likes · 12 min read
Summary of DDD Layered Architecture for the Bidding Team