← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 2903.h

MVC隔离业务与呈现

理解等级:高级

MVC及变体把业务模型和界面视图分开,由控制器解释用户事件并改变模型,再把变化反馈给视图。分离使界面迭代、并行开发和多视图复用更容易;同进程常用观察者通知,跨进程可用发布订阅。复杂界面仍可能把相关信息分散到多处,简单界面则未必值得前期复杂度。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 易用性 · 查看原书依据

      Essentially all of these patterns are focused on separating the model—the underlying “business” logic of the system—from its realization in one or more UI views. In the original MVC model, the model would send updates to a view, which a user would see and interact with.

    参考来源

    - 位置:《Software Architecture in Practice, 4th Edition》第13章《易用性》(来源项目:book-sources;源文件:extracted/Software Architecture in Practice, 4th Edition/_epub-src/ch13.html) - 结论依据:所引连续原文给出本卡机制或取舍;条件与示例结合本节已读上下文解释。 - 原始内容:Essentially all of these patterns are focused on separating the model—the underlying “business” logic of the system—from its realization in one or more UI views. In the original MVC model, the model would send updates to a view, which a user would see and interact with.