知识卡片

结构图卡 · 2324.f

分层架构按技术分工

理解等级:中级

经典分层架构包含表示层、业务逻辑层和数据访问层,每层只依赖紧邻的下层。现代表示层包括GUI、CLI、API和公开消息接口;数据访问层包括数据库、对象存储及外部信息服务。业务逻辑依赖数据访问,适合事务脚本和活动记录,隔离基础设施的领域模型则需要更合适的依赖组织。

结构图:

flowchart TD
 A[表示层:外部输入输出] --> B[业务逻辑层:业务决策]
 B --> C[数据访问层:持久化与外部信息]
这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 架构模式 · 查看原书依据

      In its classic form, the layered architecture consists of three layers: the presentation layer (PL), the business logic layer (BLL), and the data access layer (DAL). Presentation Layer The presentation layer, shown in Figure 8-2, implements the program’s user interface for interactions with its consumers. In the pattern’s original form, this layer denotes a graphical

    参考来源

    - 位置:《Learning Domain-Driven Design》第8章《架构模式》(来源项目:book-sources;源文件:extracted/Learning Domain-Driven Design/_epub-src/OEBPS/ch08.html) - 结论依据:原文围绕本卡所述机制给出定义、适用条件及相关取舍,以下摘录为直接依据。 - 原始内容:In its classic form, the layered architecture consists of three layers: the presentation layer (PL), the business logic layer (BLL), and the data access layer (DAL). Presentation Layer The presentation layer, shown in Figure 8-2, implements the program’s user interface for interactions with its consumers. In the pattern’s original form, this layer denotes a graphical