freedom icon indicating copy to clipboard operation
freedom copied to clipboard

关于fshop示例项目po中的疑问

Open ghost opened this issue 3 years ago • 6 comments

个人疑问: 因为我个人没有这种六边形模式,比较经常用的是贫血模式。我们一般在po层不会有业务逻辑。 链接地址:https://github.com/8treenet/freedom/tree/master/example/fshop/domain/po

ghost avatar Jul 14 '20 16:07 ghost

仔细看下po和entity的关系

模型 = 数据 + 行为  po的行为是什么 entity的行为是什么

杨树 Shu Yang Tel: +8613513517944 Twitter: _CharlieYang Website: http://www.8tree.net

---原始邮件--- 发件人: "cameronhuang95"<[email protected]> 发送时间: 2020年7月15日(周三) 凌晨0:47 收件人: "8treenet/freedom"<[email protected]>; 抄送: "Subscribed"<[email protected]>; 主题: [8treenet/freedom] 关于fshop示例项目po中的疑问 (#13)

个人疑问: 因为我个人没有这种六边形模式,比较经常用的是贫血模式。我们一般在po层不会有业务逻辑。 链接地址:https://github.com/8treenet/freedom/tree/master/example/fshop/domain/po

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

8treenet avatar Jul 15 '20 01:07 8treenet

https://www.jianshu.com/c/397215400171

杨树 Shu Yang Tel: +8613513517944 Twitter: _CharlieYang Website: http://www.8tree.net

---原始邮件--- 发件人: "cameronhuang95"<[email protected]> 发送时间: 2020年7月15日(周三) 凌晨0:47 收件人: "8treenet/freedom"<[email protected]>; 抄送: "Subscribed"<[email protected]>; 主题: [8treenet/freedom] 关于fshop示例项目po中的疑问 (#13)

个人疑问: 因为我个人没有这种六边形模式,比较经常用的是贫血模式。我们一般在po层不会有业务逻辑。 链接地址:https://github.com/8treenet/freedom/tree/master/example/fshop/domain/po

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

8treenet avatar Jul 15 '20 01:07 8treenet

非常感谢。受教了

ghost avatar Jul 15 '20 02:07 ghost

也学习、也明白了

zhuewizz avatar Jul 20 '20 10:07 zhuewizz

有关ddd文章啥时候更新啊精神食粮

knight0zh avatar Jul 24 '20 07:07 knight0zh

周末

8treenet avatar Jul 24 '20 10:07 8treenet