官术网_书友最值得收藏!

Motivation for using the business-object pattern

Whenever the conceptual model involves a greater complexity, we use the business-object pattern. This high complexity may be because the BO uses a combination of other objects and has complex business logic, such as validation rules. So, separating this business logic from the rest of the application is required (data persistence would be an example of this).

Not implementing this pattern can lead to problems, such as reducing code reusability. As a consequence of this, there are several possible solutions that make code maintenance time-consuming, as it would lose the uniformity that comes with using design patterns.

主站蜘蛛池模板: 古田县| 汉寿县| 屏东市| 饶阳县| 渭南市| 尚义县| 若尔盖县| 将乐县| 马尔康县| 固原市| 新沂市| 泾源县| 新龙县| 武定县| 铁力市| 高碑店市| 闻喜县| 讷河市| 扬中市| 深圳市| 宁国市| 焉耆| 卫辉市| 禄丰县| 蓬溪县| 山东| 资兴市| 花垣县| 孝感市| 天台县| 明星| 凌云县| 吴堡县| 汉川市| 安多县| 和顺县| 吉安县| 呼图壁县| 建湖县| 吴旗县| 奈曼旗|