1 个仓库
Interfaces that hide concrete API and database implementations to allow swapping data sources.
Distinct from Plugin-Based Data Source Adapters: Focuses on the gateway pattern for business rule isolation rather than specific database adapters.
Explore 1 awesome GitHub repository matching data & databases · Gateway Abstractions. Refine with filters or upvote what's useful.
该项目是一个使用 SwiftUI 和整洁架构(Clean Architecture)的模块化 iOS 应用参考实现和模板。它提供了一个组织成独立层的结构,以将用户界面和外部框架与核心业务逻辑解耦。 该架构结合了领域驱动设计(DDD),通过基于业务领域将代码组织成独立模块来管理复杂性。这种方法强制执行严格的依赖边界并缩短了构建时间。 该项目实现了一个基于插件的数据层,将 API 和数据库实现隐藏在网关之后,从而允许在不修改业务规则的情况下切换数据源。它还具有一个集中的路由协调器来抽象导航层级,使各个功能模块独立于整体应用流程。
Implements a plugin-based data layer that hides API and database implementations behind gateways.