当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- JS array the usage of array is all here (array method reconstruction, array traversal, array de duplication, array judgment and conversion)
- 7. Swarm builds clusters
- Didi's distributed ID generator (tinyid), easy to use
- In 2020, how can wechat seal numbers be quickly lifted?
- After pulling four message queues into a group, they quarreled
- Knowledge competition of garbage classification
- The JS solution cannot be executed after Ajax loads HTML
- 【笔记】Error while loading PyV8 binary: exit code 1解决方法
- 傲視Kubernetes(一):Kubernetes簡介
- PHP backdoor hiding skills
猜你喜欢

chrome浏览器跨域Cookie的SameSite问题导致访问iframe内嵌页面异常

条形码识别器Dynamsoft Barcode Reader v7.5全新上线!

【笔记】Error while loading PyV8 binary: exit code 1解决方法

【涂鸦物联网足迹】物联网主流通信方式

k-vim安装及The ycmd server SHUT DOWN (restart with ':YcmRestartServer')这种错误的解决方法

Jenkins pipline stage setting timeout

7. Swarm builds clusters

Web API interface design: swaggerui document / unified response format / unified exception handling / unified authority verification

把 4个消息队列都拉到一个群里后,他们吵起来了

使用RabbitMQ实现分布式事务
随机推荐
Gantt chart grouping activities tutorial
[original] the impact of arm platform memory and cache on the real-time performance of xenomai
Developing STM32 USB with cubemx
【原創】ARM平臺記憶體和cache對xenomai實時性的影響
滴滴的分布式ID生成器(Tinyid),好用的一批
Blazor 準備好為企業服務了嗎?
jenkins pipline stage 设置超时
Mac新手必备小技巧
gitlab 持续集成开发环境之CI/CD
C enumerates the differences between permissions |, and |
Exception calling 'downloadstring' with '1' arguments: 'operation timed out'
win7如何快速打cmd并到达所要的目录
使用LWA和Lync模拟外部测试无边缘单前端环境
confd
聊聊先享後付
Chinese sub forum of | 2020 PostgreSQL Asia Conference: Pan Juan
使用“1”个参数调用“DownloadString”时发生异常:“操作超时”
Mobile pixel adaptation scheme
Win7 how to quickly type CMD and get to the required directory
.NETCore3.1+ Vue.js Low code workflow engine