Business Logic: An Overview
Business Logic: An Overview
Business Logic: An Overview
1. Understand the different concepts in Logic necessary to identify and evaluate arguments.
2. Apply the practical skills and knowledge necessary to recognize whether an argument is
good or bad.
3. Discuss and differentiate Business Logic and Business Rules
4. Apply the importance of business logic to business entities
5. Formulate a Business Rules for the benefit of a business unit.
6. Construct a workflow as a tool for implementation of Business Rules.
COURSE OUTLINE
(Subject to Change)
A. INTRO TO LOGIC
MIDTERM
MAIN REFERENCE:
Assadian, Bahram, Matthew Kanchel, Cassiano Terra Rodriquez, Michael Shaffer, Nathan
Smith, Benjamin Martin and Christina Hendricks. Introduction to Philosophy: Logic. Open
Textbook Project. (nd).
1
B. BUSINESS LOGIC
References/Sources: To be taken/retrieved from the Internet.
LOGIC
To better appreciate this course, you should have already taken at least an introductory course in
Logic/Philosophy. As refresher, the first part of this course is devoted on the review about
Logic. (See outline above for details).
Since the logic model is a depiction of “if-then” relationships.
Example:
If we invest these inputs/resources, then the activities can take place; if the activities take place,
then the outputs will result; if the outputs result, then the outcomes will be achieved.
REFERENCES:
1. (https-course-hero)
2. (https://study.com/academy/lesson/using-logic-reasoning-to-make-business-decision-html)
DEFINITION OF LOGIC
1. Logic is the study of the methods and principles used to distinguished correct reasoning
and from incorrect reasoning.
2. Logic is the process of using rational reasoning in order to make a valid argument. We use
logic to make a point, make a decision, or convince others to agree with us. If you want to
convince your co-workers that Friday should be a casual dress day, you need to make a valid
argument to convince others that this change is needed. It might look like this:
With the use of a valid argument, it is much more likely that you will get a casual dress day.
There are different types of logic, and there are rules to using logic. Understanding some logic
basics will help you make better business decisions.
OBJECTIVES OF LOGIC
2
WHY LOGIC IS IMPORTANT?
AIMS OF LOGIC
BUSINESS LOGIC
REFERENCES:
1. Investopedia
2. Wikipedia
3. https://www.webopedia.com/definitions/database
4. en.wikipedia.org/wiki/User_interface
5. https://www.ibm.com/cloud/learn/workflow
6. (https://www.laserfiche.com/ecmblog/what-are-business-rules)
DEFINITION:
BUSINESS LOGIC
Prescribes how business objects interact with one another.
Enforces the routes and the methods by which business objects are accessed and updated.
3
Is the custom rules or algorithms¹ that handle the exchange of information between a
database² and user interface³.
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.
Also known as "domain logic."
¹Algorithm. A pre-determined result. For instance, when we talk about algorithms in computer
programming, we already have our input and we know the expected output. Now, an algorithm
would be all the defined steps to follow on the input to get the desired output.
Algorithm
Apart from mathematics or computer programming, we see algorithms in everyday life. Let’s say
you want to cook a dish. Now, you can begin with some ingredients (the input) and will follow
the recipe. The recipe will have different steps (the algorithm) that you can follow to make the
dish (the output).
²Database. Often abbreviated as DB, is a collection of information organized in such a way that
a computer program can quickly select desired pieces of data.
To access information from a database, you need a database management system (DBMS). This
is a collection of programs that enables you to enter, organize, and select data in a database.
4
Database
Increasingly, the term database is used as shorthand for database management system. There are
many different types of DBMSs, ranging from small systems that run on personal computers to
huge systems that run on mainframes.
³Interface
When referring to software, an interface is a program that allows a user to interact computers in
person or over a network. An interface may also refer to controls used in a program that allow
the user to interact with the program. One of the best examples of an interface is a GUI
(Graphical User Interface). This type of interface is what you are using to navigate your
computer and how you got to this page.
Interface
User interfaces are composed of one or more layers, including a human-machine interface (
HMI) that interfaces machines with physical input hardware such as keyboards, mice, or game
pads, and output hardware such as computer monitors, speakers, and printers. A device that
implements an HMI is called a human interface device (HID).
Workflow (Flowchart)
(https://www.ibm.com/cloud/learn/workflow)
A workflow is a system for managing repetitive processes and tasks which occur in a particular
order. They are the mechanism by which people and enterprises accomplish their work, whether
manufacturing a product, providing a service, processing information or any other value-
generating activity.
Within business process management, a workflow can be defined as a simple series of individual
tasks, while a business process is considered more complex, consisting of multiple workflows,
information systems, data, people and their activity patterns. A workflow is distinguished by its
simplicity and repeatability, and it is generally visualized with diagram or checklist.
5
Flowchart
Put another way, business logic is real-world business rules put into computer code and shown in
a computer program via a user interface. 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. It provides a system of rules that guides how
business objects (parts of software that control how data is transported) work with one another.
Business logic also guides how business objects within software are accessed and updated. It
exists at a higher level than the type of code that is used to maintain basic computer
infrastructure, such as how a database is displayed to a user or as basic system infrastructure.
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.
6
Business Logic Examples No. 1:
A credit card issuer's business logic may specify that out-of-state credit card transactions above a
certain limit, say $500, be flagged as suspicious and the issuer contacted as soon as possible to
confirm the authenticity of the transaction. The policy of flagging such a transaction is an
example of a business rule; the actual process of flagging the transaction is an example of
business logic. Given that millions of credit card transactions are conducted every single day,
business logic enables such transactions to be checked and processed in an efficient and timely
manner.
BUSINESS RULES
BUSINESS RULES
(https://www.laserfiche.com/ecmblog/what-are-business-rules)
In general, business rules define specific instructions or constraints on how certain day-to-
day actions should be performed. Business rules can apply to many aspects of an organization
and can be expressed in a variety of ways.
When business rules are designed separately from process implementations, they provide a
powerful and flexible approach to help organizations move more quickly in meeting their goals
and better respond to changing business needs.
3. Prescribes how business objects interact with one Model real-life business objects (such as accounts,
another loans, itineraries, and inventories)
7
MISCELLANEOUS
LEARNING STRATEGIES:
1. Lectures
2. Class discussion
3. Group Activity Reports (GARs)
4. Individual Activity Reports (IARs) and Assignments
5. Others
1. Business Logic
2. Business Rules
3. Workflow (Flow Chart)