当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- Web API interface design: swaggerui document / unified response format / unified exception handling / unified authority verification
- K-vim installation and the ycmd server shut down (restart with ': ycmrestartserver')
- STlink下载出现st-link usb communication error解决方法
- [original] the impact of arm platform memory and cache on the real-time performance of xenomai
- Classroom exercises
- RECH8.0版本学习 days 12 rh134部分
- 7. Swarm builds clusters
- 如何使用甘特图图层和筛选器
- C語言重點——指標篇(一文讓你完全搞懂指標)| 從記憶體理解指標 | 指標完全解析
- CI / CD of gitlab continuous integrated development environment
猜你喜欢
随机推荐
Let you have a deep understanding of gitlab CI / CD principle and process
Idea activation to 2089 failure
站外推广的计划需要考虑哪些呢?
Is blazor ready to serve the enterprise?
廬山真面目之二微服務架構NGINX版本實現
Mate 40 series launch with Huawei sports health service to bring healthy digital life
After pulling four message queues into a group, they quarreled
New features of vue3
git 提交规范
【笔记】Error while loading PyV8 binary: exit code 1解决方法
K-vim installation and the ycmd server shut down (restart with ': ycmrestartserver')
把 4个消息队列都拉到一个群里后,他们吵起来了
使用“1”个参数调用“DownloadString”时发生异常:“操作超时”
嘉宾专访|2020 PostgreSQL亚洲大会阿里云数据库专场:王旭
【原創】ARM平臺記憶體和cache對xenomai實時性的影響
vue踩坑:axios使用this指针
使用RabbitMQ实现分布式事务
微服務 - 如何進行服務限流和熔斷
失眠一个整晚上
Vue: Axios uses this pointer