Contents
What do we actually mean when we say business logic?
Business logic is the custom rules or algorithms that handle the exchange of information between a database and user interface. Business logic is essentially the part of a computer program that contains the information (in the form of business rules) that defines or constrains how a business operates.
How important is logic to the field of business?
Making decisive and effective business decisions is difficult. When we use logic, we use rational reasoning in order to make a valid argument. Logic is a tool we can use to help us make better business decisions. Deductive, conditional, and inductive reasoning are logical processes that help us develop valid arguments.
When does business logic need to be changed?
Often business logic is subject to change when the needs of the customer change, so we like to put it in a special place/tier so that we can modify it as needed. Although the term seems to imply otherwise, non-business software also has business logic.
Why are business and application logic mixed together?
Another reason why they are mixed together is that for many non-technical people. UI is “the application”, so anything reflected in the UI is important. In the ideal “business logic” case, there is no UI. There would probably be suite of automated tests to verify the logic, but nothing that can be shown to business people.
How does business logic relate to software architecture?
The notion of “business logic” does not have any relevance in this context. Systems become aligned to real-world concerns rather than the conceptual definitions of software architects. They are defined by the data and behaviour that they implement rather than the type of processing they carry out.
Is the Ui the same as business logic?
In the ideal “business logic” case, there is no UI. There would probably be suite of automated tests to verify the logic, but nothing that can be shown to business people. So to business people, everything is same kind of “logic”. IMO. As others have pointed out, these terms do not have one universally accepted meaning.