Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

公司一个业务线的产品在设计的时候把业务相关的操作在domain这一层嵌入的很深,里面的很多基础方法都做了业务处理,导致后面有项目借用这个业务框架做开发的时候碰到很多坑,在底层要把很多业务相关代码剥离掉.我一直倾向于值对象应该简单,不要和业务耦合在一起,这样框架的复用性才高,业务处理应该放在service层或者dao层的业务相关处理方法中,不知道大家所在公司的框架设计思路是怎么样的?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
514 views
Welcome To Ask or Share your Answers For Others

1 Answer

等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...