Sie sind auf Seite 1von 9


What Is Business Logic?
• is the custom rules or algorithms that handle the
exchange of information between a database and user
• is essentially the part of a computer program that
contains the information (in the form of business rules)
that defines how a business operates.
• Such business rules are operational policies that
are usually expressed in true or false binaries.
What Is Business Logic?
• Business logic can be seen in the workflows that
they support, such as in sequences or steps that
specify in detail the proper flow of information or
data, and therefore decision-making.
• Business logic is also known as "domain logic."
Understanding Business Logic
• Business logic is most evident in its role in creating
workflows that pass data between users and
software systems. Business logic determines how
data may be shown, stored, created, and altered.
• The algorithms involved in business logic perform
behind-the-scenes data processing that is invisible to
the user but is critical to keeping things running
smoothly in a modern economy.
Business Logic V.S Business Rules
• Business rules are useless without business logic to
determine how data is calculated, changed, and
transmitted to users and software. But without
business rules to create a framework, business logic
cannot exist.
• Business logic is any part of a business enterprise
that makes up a system of processes and
procedures, whereas anything else is an example of
a business rule.
Business Logic V.S Business Rules
• Business rules are a formal expression of business
policy, while business logic determines how this
policy is implemented as a process.
• For example, the application of VAT on invoices is a
business rule but the calculations involved in
applying it are implemented as business logic.
• Validation – rules for validating user input.
• Transactions – rules for executing a transaction such
as a purchase.
• Calculation – calculating values such as a discount on
an order.
• Process Flow – deciding how to trigger steps in a
• Page Flow – deciding what pages to display to a user.
• Data Transformation – rules for transforming data
from one format to another such as how to display
an account number to user.
• Notifications – deciding when to notify people of
information. For example, the rules for sending an
alert that an industrial robot is need maintenance.
• Events – to trigger events such as the rules to
determine that passengers have left a vehicle.
• Decisions – making decision such as what product to
promote to a customer on an ecommerce web.