当前位置:网站首页>Business facade and business rule
Business facade and business rule
2020-11-07 18:55:00 【Airship】
Business Facade and Business Rule All are Business Logic The fine layers of , They work together to accomplish specific business logic processing .
but Business Facade yes Business Rule The previous level of , Responsible for receiving Web Service Or both Web UI Request , And verify the correctness of the request , Whether the parameter format is legal , After all the verification is finished , Then give the request to Business Rule layer , Mainly complete the right Business Rule Some checks before calling , On receiving Business Rule After the processing result of the layer , According to the different request client format the result to the request client's desired format .
meanwhile , Some common simple judgment processing can also be handed over to Business Facade Layer handles , Not in Business Rule Layer implementation , In order to achieve a clearer structure . Each department has its own rules , It is conducive to the extension and maintenance of the architecture . in addition , If it's a small project , You can merge them into one level .
I'll just take it this way :Business Facade It's about the client ,Business Rule It has nothing to do with the client .
版权声明
本文为[Airship]所创,转载请带上原文链接,感谢
边栏推荐
- Come on in! Take a few minutes to see how reentrantreadwritelock works!
- 测试攻城狮必备技能点!一文带你解读DevOps下的测试技术
- 你真的会使用搜索引擎吗?
- idea 激活到 2089 失效
- 把 4个消息队列都拉到一个群里后,他们吵起来了
- Kubernetes (1): introduction to kubernetes
- 7.Swarm搭建集群
- Analysis of the original code of [QT] qthread
- Knowledge competition of garbage classification
- Chinese sub forum of | 2020 PostgreSQL Asia Conference: Pan Juan
猜你喜欢
随机推荐
Kubernetes (1): introduction to kubernetes
gitlab 持续集成开发环境之CI/CD
频收罚单的浦发银行:增收不增利,曾遭骗贷数亿元,内控缺位?
滴滴的分布式ID生成器(Tinyid),好用的一批
如何使用甘特图图层和筛选器
8. Swarm creates maintenance and horizontal extension service
如何利用PopupWindow实现弹出菜单并解决焦点获取以及与软键盘冲突问题
pc端与移动端适配解决方案之rem
深入浅出大前端框架Angular6实战教程(Angular6、node.js、keystonejs、
把 4个消息队列都拉到一个群里后,他们吵起来了
Classroom exercises
STlink下载出现st-link usb communication error解决方法
How to use Gantt chart layers and filters
[note] error while loading pyv8 binary: exit code 1 solution
Gantt chart grouping activities tutorial
垃圾分类知识竞赛
11.Service更新
微服務 - 如何進行服務限流和熔斷
嘉宾专访|2020 PostgreSQL亚洲大会中文分论坛:岳彩波
Using LWA and lync to simulate external test edge free single front end environment