• 2、领域模型


    Domain Model

    An object model of the domain that incorporates both behavior and data.

    For a full description see P of EAA page 116

    At its worst business logic can be very complex. Rules and logic describe many different cases and slants of behavior, and it's this complexity that objects were designed to work with. A Domain Model creates a web of interconnected objects, where each object represents some meaningful individual, whether as large as a corporation or as small as a single line on an order form.

    领域模型

    合并了行为和数据的领域对象模型

        在最糟的情况下,业务逻辑可能非常的复杂。规则和逻辑描述了行为上许多不同的条件和变化,而对象就是被设计用来解决的这些复杂性的。领域模型创建了一个互相交互对象组成的网,这里每个对象都扮演某个有意义的个体, 这些对象大可以到一个公司,小可以到订单中的一行。

  • 相关阅读:
    hide the navigationBar and tabBar
    js
    CATranstion动画
    CASpringAnimation
    UIImageView动画
    打电话发短信
    页面滑动悬停在某个控件(两种做法)
    导航栏相关设置
    ASCII和16进制
    C++中,申请字符串数组可用new实现
  • 原文地址:https://www.cnblogs.com/xhan/p/1041835.html
Copyright © 2020-2023  润新知