当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
猜你喜欢
随机推荐
Vue: Axios uses this pointer
图像处理工具包ImagXpress使用教程,如何查看事件
Shanghai Pudong Development Bank, which frequently receives penalty tickets, has been cheated by hundreds of millions of yuan in loans, and lacks of internal control?
A kind of super parameter optimization technology hyperopt
Getting started with varhart xgantt
Logo design company, Nanjing
嘉宾专访|2020 PostgreSQL亚洲大会阿里云数据库专场:王旭
After pulling four message queues into a group, they quarreled
.NETCore3.1+ Vue.js Low code workflow engine
使用LWA和Lync模拟外部测试无边缘单前端环境
Analysis of the original code of [QT] qthread
Web API系列(三)统一异常处理
Do you really know how to use search engines?
[graffiti footprints of Internet of things] mainstream communication mode of Internet of things
Web API interface design: swaggerui document / unified response format / unified exception handling / unified authority verification
Mobile pixel adaptation scheme
idea 激活到 2089 失效
In simple terms, the large front-end framework angular6 practical course (angular6 node.js 、keystonejs、
Using rabbitmq to implement distributed transaction
站外推广的计划需要考虑哪些呢?