What exactly consists of 'Business Logic' in an application?

后端 未结 8 1461
走了就别回头了
走了就别回头了 2020-12-24 03:30

I have heard umpteen times that we \'should not mix business logic with other code\' or statements like that. I think every single code I write (processing steps I mean) con

8条回答
  •  长情又很酷
    2020-12-24 04:08

    To simplify things to a single line...
    Business Logic would be code that doesn't depend on/won't change with a specific UI/implementation detail.. It is a code-representation of the rules, processes, etc. that are defined by/reflect the business being modelled.

提交回复
热议问题