当前位置:网站首页>面向领域模型编程
面向领域模型编程
2022-07-25 22:21:00 【红豆和绿豆】
在做整体架构分析需要分析清楚整体的领域。
领域模型是可以更好的分解,数据博模型可以设计的更加通用。一个通用的数据库模型,可以兼容不同的领域能力,
以前以及认为领域模型就是 跟数据库模型一一对应的。其实无需这样
举个例子:商品,商品类目、商品价格、商品库存、商品适用门店等,
领域模型是可以这样设计,但是数据库商品,商品关联数据,一张表就可以对多个业务特性。
这样可以减少每次数据库的变更。
这样也就是为啥需要有领域模型,也就是为啥有人总说 领域模型就是数据库模型呀,因为无需再次封装的原因。
边栏推荐
- After three years of software testing at Tencent, I was ruthlessly dismissed in July, trying to wake up my brother who was paddling
- After 2 years of functional testing, I feel like I can't do anything. Where should I go in 2022?
- Why does redisv6.0 introduce multithreading?
- Redis memory elimination mechanism?
- Title: give a group of arrays, arranged from large to small and from small to large.
- Win10 set up a flutter environment to step on the pit diary
- Synchronized and volatile
- Virtual memory and disk
- What is partition and barrel division?
- arcgis开发常用源码
猜你喜欢

『SignalR』. Net using signalr for real-time communication

Xiaobai programmer's fourth day

What have I experienced to become a harder tester than development?

Flex layout

面了个腾讯三年经验的测试员,让我见识到了真正的测试天花板

6-18 vulnerability exploitation - backdoor connection

After 2 years of functional testing, I feel like I can't do anything. Where should I go in 2022?

如何实现一个App应用程序,限制用户时间使用?

About vscode usage+ Solutions to the problem of tab failure

编译和反编译
随机推荐
【C语法】void*浅说
On the difference between break and continue statements
Mitsubishi FX PLC free port RS command realizes Modbus Communication
Xiaobai programmer's fifth day
Formal parameters, arguments and return values in functions
谷歌分析UA怎么转最新版GA4最方便
【数据库学习】Redis 解析器&&单线程&&模型
What should I do if I encounter the problem of verification code during automatic testing?
The dragon lizard exhibition area plays a new trick this time. Let's see whose DNA moved?
Can I buy financial products with a revenue of more than 6% after opening an account
编译和反编译
[C syntax] void*
Wechat applet (anti shake, throttling), which solves the problem that users keep pulling down refresh requests or clicking buttons to submit information; Get the list information and refresh the data
After three years of software testing at Tencent, I was ruthlessly dismissed in July, trying to wake up my brother who was paddling
synchronized与volatile
『Skywalking』. Net core fast access distributed link tracking platform
Math programming classification
win10搭建flutter环境踩坑日记
MapGIS格式转ArcGIS方法
字节跳动技术面都过了,结果还是被刷了,问HR原因竟是。。。