当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- Implementation of nginx version of microservice architecture
- Kubernetes (1): introduction to kubernetes
- 快進來!花幾分鐘看一下 ReentrantReadWriteLock 的原理!
- Didi's distributed ID generator (tinyid), easy to use
- C enumerates the differences between permissions |, and |
- Chinese sub forum of | 2020 PostgreSQL Asia Conference: Pan Juan
- 课堂练习
- Two dimensional code location and alarm system of Expressway
- DOM节点操作
- STlink下载出现st-link usb communication error解决方法
猜你喜欢
Image processing toolkit imagexpresshow to view events
Mate 40系列发布 搭载华为运动健康服务带来健康数字生活
20 XR projects roadshows, nearly 20 capital institutions attended! We sincerely invite you to attend the 2020 qcomm XR eco Partner Conference
Exclusive interview with Yue Caibo
9.集群之间服务通信 RoutingMesh
How to add modules to nginx image?
Win7 AppCrash (solution)
Rech8.0 learning days 12 rh134
Tips for Mac novices
confd
随机推荐
Git submission specification
[original] the impact of arm platform memory and cache on the real-time performance of xenomai
想要忘记以前连接到Mac的WiFi网络,试试这个方法!
Analysis of the original code of [QT] qthread
What should be considered in the promotion plan outside the station?
使用“1”个参数调用“DownloadString”时发生异常:“操作超时”
嘉宾专访|2020 PostgreSQL亚洲大会阿里云数据库专场:王旭
Exclusive interview with alicloud database of | 2020 PostgreSQL Asia Conference: Wang Xu
LEADTOOLS如何检测,读取和写入条形码
使用RabbitMQ实现分布式事务
About Devops seven misunderstandings, 99% of people have been hit!
gitlab 持续集成开发环境之CI/CD
In 2020, how can wechat seal numbers be quickly lifted?
Experiment one
[note] error while loading pyv8 binary: exit code 1 solution
Kubernetes (1): introduction to kubernetes
JS string - string string object method
Key points of C language -- index article (let you fully understand indicators) | understand indicators from memory | complete analysis of indicators
Insomnia all night
And how to solve the conflict between pop-up menu and pop-up menu