3 个仓库
Support for asynchronous network operations and callback patterns.
Distinguishing note: Focuses on the async programming model.
Explore 3 awesome GitHub repositories matching web development · Asynchronous Patterns. Refine with filters or upvote what's useful.
This project is a collection of engineering guidelines and best practices for writing readable and maintainable JavaScript source code. It serves as a clean code guide and refactoring manual to help developers improve the structure of their codebases. The repository provides a reference for applying SOLID principles to reduce coupling and enable extensions without modifying existing logic. It includes a naming convention standard for using explicit, searchable identifiers and a guide for asynchronous patterns to replace nested callbacks with clearer execution flows. The guidelines cover soft
Provides patterns for using promises and async/await to replace nested callbacks for improved readability.
Retrofit is a type-safe HTTP client that simplifies network communication by allowing developers to define API endpoints as interface methods. By using annotation-driven request mapping, it automatically translates these interface definitions into structured HTTP requests, ensuring consistent data structures and reducing manual configuration when interacting with remote web services. The project distinguishes itself through a highly modular architecture that separates network transport from data handling. It utilizes dynamic proxy generation to process method calls at runtime and offers a plu
Provides support for both synchronous and asynchronous network request patterns.
RxJavaSamples 是一个参考实现和实践指南集合,用于将响应式模式应用于异步网络和状态管理。它提供了将响应式流与 Retrofit 集成的代码演示,以非阻塞方式处理网络请求。 该项目专注于管理 API 调用的异步模式,包括组合并发流以及使用 Subject 缓存发射的值以进行状态管理。它特别演示了如何实现自动化令牌刷新工作流,以在不中断用户的情况下维护已认证的会话。 该仓库涵盖了请求编排中更广泛的功能,例如对依赖网络调用进行排序,以及将多个并行请求聚合为单个响应对象。它还包括用于响应数据格式化和将 API 响应适配映射为结构化 Java 对象的实现。
Implements asynchronous patterns using RxJava for stream combination and state management.