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

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.

主站蜘蛛池模板: 庄浪县| 和田市| 三台县| 鲁山县| 田阳县| 毕节市| 竹北市| 迁西县| 青铜峡市| 盐津县| 黎川县| 前郭尔| 新闻| 宜丰县| 台北市| 辽阳县| 泰州市| 阿拉尔市| 云梦县| 自治县| 彭泽县| 师宗县| 南皮县| 乌鲁木齐市| 中方县| 抚顺县| 旬阳县| 镇江市| 镶黄旗| 宜兰县| 新余市| 阳春市| 唐海县| 桓台县| 邛崃市| 当雄县| 罗城| 都昌县| 萍乡市| 石嘴山市| 正安县|