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

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.

主站蜘蛛池模板: 利辛县| 平湖市| 和林格尔县| 和硕县| 南宁市| 洛川县| 屏东县| 金坛市| 奈曼旗| 静安区| 基隆市| 东乌珠穆沁旗| 西城区| 大竹县| 林芝县| 溧阳市| 青川县| 凤庆县| 和平区| 桓仁| 女性| 洞口县| 沁阳市| 大荔县| 临邑县| 民乐县| 桓仁| 金沙县| 武平县| 军事| 绥德县| 湟源县| 泰安市| 新龙县| 登封市| 桑日县| 阳信县| 盱眙县| 同仁县| 乌什县| 安达市|