What's the difference between application layer and business logic layer?

前端 未结 6 1950
你的背包
你的背包 2021-01-29 19:30

What\'s the difference between application layer and business logic layer? I kind of understand that business layer provides business specific services and application layer cou

6条回答
  •  被撕碎了的回忆
    2021-01-29 19:50

    To summarize:

    • The application layer consists of those elements that are specific to this application. So that would contain the UI, back-end processing for the UI, and any bindings between the application and your business logic layer. In a perfect world, this layer would not contain any logic of the business domain.

    • The business logic layer (BLL) contains logic specific to the business domain. Also, if you are going to create a separate BLL, this layer should contain logic that could be used by other applications as well as this one. For example, a set of web services exposing a well-defined API. This de-couples the BLL from your application and allows you the flexibility to build other applications on top of it in the future.

提交回复
热议问题