Tagged articles
observable
11 articles · Page 1 of 1
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 compositionRetry
0 likes · 12 min read

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

This article introduces RxJS, explains the prerequisite concepts of reactive programming, streams, observer and iterator patterns, and then details core RxJS constructs such as Observable, Observer, Subscription, and Subject with code examples and visual illustrations.
JavaScriptReactive Programmingobservable
0 likes · 8 min read

This article explains the Observer design pattern by comparing it to a talk‑show scenario, then details its Java implementation—including Observable and Observer classes, notification mechanisms, code examples, common pitfalls, asynchronous extensions, and practical e‑commerce applications—in a clear, step‑by‑step manner.
JavaObserver Patterndesign patterns
0 likes · 10 min read

This article explains the core concepts of RxJS—including Observable, Observer, Subject, and various operators—by walking through their fundamental principles, implementation details, and practical code examples that illustrate unicast and multicast data flows in reactive JavaScript programming.
JavaScriptReactive ProgrammingSubject
0 likes · 19 min read

This article explains the core concepts of RxJS—including Observable, Observer, Subject, and various operators—by walking through their definitions, basic usage, static creation methods, and detailed implementation with JavaScript code examples, while comparing unicast and multicast behaviors.
JavaScriptReactive ProgrammingSubject
0 likes · 20 min read

The article explains that an Observable in Rx is a higher‑order function acting like a “parcel box” which, when subscribed, delivers a stream of data and can be merged or unsubscribed, using examples such as fromEvent, interval, and merge to illustrate unified asynchronous handling.
Async ProgrammingSubscribeUnsubscribe
0 likes · 11 min read

RxJava implements ReactiveX’s observer‑based, pull‑model paradigm by using Observable as a factory and template class whose static creators and chainable operators (e.g., flatMap) apply factory, template, observer and decorator patterns, enabling Java 8‑style asynchronous pipelines that developers can reason about, debug, and optimize.
JavaReactive ProgrammingRxJava
0 likes · 9 min read

This article provides a comprehensive source‑code walkthrough of RxJava’s Observable subscription flow, detailing object creation, reverse subscription, thread scheduling, and operator handling with step‑by‑step code analysis.
ReactiveProgrammingRxJavaSourceCodeAnalysis
0 likes · 17 min read

RxJS brings the Observable pattern to JavaScript, enabling asynchronous multiple-value streams that combine observer, iterator, and functional concepts, and the article shows how to use it in React and Redux for clean subscription management, data aggregation, advanced async handling, and time‑based operations.
Async OperationsJavaScriptRedux
0 likes · 8 min read

This article examines the limitations of plain Fetch API for caching and real‑time updates in complex web apps, then demonstrates how wrapping Fetch with RxJS creates lazy‑loaded caches, reactive update notifications, and extensible data streams, while outlining practical implementation details and best practices.
CachingFetch APIfrontend
0 likes · 5 min read
