BUSINESS LOGIC LAYER
PYTHON
Name:-SONALI SATYAWAN BORHADE
Class:-S.Y.BCA(science)
Roll No.:-16 :- A
Activity No.2:-Describe the architecture of python application
FABRIKAM
INTRODUCTION : -
The Business Logic Layer
also known as BLL act as an
intermediate between the
Presentation Layer and the
Data Access Layer (DAL).
This layer handles the
business logic, business
rules as well as
calculations. It tells how
the data from the database
can be used, what it can
perform, and what can not
within its application.
FABRIKAM 2
THE BUSINESS LOGIC
LAYER:-
The Business-Logic Layer
(BLL) is a component of a
software architecture that is
responsible for implementing
the business logic of an
application. It sits between
the presentation layer (e.g.,
the user interface) and the
data access layer (e.g., the
database), and is responsible
for processing and
manipulating data before it
is presented to the user or
stored in the database.
FABRIKAM 3
T H E B L L I S R ES P O N S I B L E FO R
P E R FO R M I N G TA S K S S U C H A S : -
-Validating input data to ensure that it meets the
necessary business rules and constraints. -Performing
calculations and transformations on data, as required
by the business logic. -Enforcing business rules and
policies, such as access control and security. -
Communicating with the data access layer to retrieve
and store data. -Handling errors and exceptions.
FABRIKAM 4
BLL:-
The BLL is designed to be reusable and
independent of the user interface and data
storage implementation. This allows the
application to be easily modified or extended
without affecting the underlying business logic.
The BLL is also responsible for managing the
workflows and the use cases of the application,
by handling the communication between the
different layers, and by implementing the rules
and constraints of the business.
FABRIKAM 5
SYMMURRY:-
BBL:-
The Business-Logic Layer (BLL) is a component of a software The business logic layer is the business components that
architecture that is responsible for implementing the business provide OAGIS services to return data or start business
logic of an application. It sits between the presentation layer processes. The presentation layer uses these OAGIS services to
and the data access layer, and is responsible for processing display data, or to invoke a business process. The business
and manipulating data before it is presented to the user or logic provides data required by the presentation layer. The
stored in the database. It also manages the workflows and the business logic layer exists because more than just fetching and
use cases of the application, and it is designed to be reusable updating data is required by an application; there is also
and independent of the user interface and data storage additional business logic independent of the presentation
implementation. layer.
FABRIKAM 6
• Presentation Layer: The layer at which users
interact with the application and the final data
will be visible to the users at this interface. It
acts as an interface between the user and the
application. Business Logic
• Layer: It acts as an intermediate between the
Presentation and the Data Access Layer. Data
• Access Layer: The layer at which the data is
managed.
FABRIKAM 7
ADVANTAGES OF BUSINESS LOGIC LAYER: -
Code Maintenance is easy: Maintaining the code will be easy when we
are using the Business Logical Layer as it supports multitier
architecture. By using this we can easily determine any kind of change
in the code.
Security: This architecture provides us the security as we can see that
the Presentation layer doesn’t directly interact with the Data Access
Layer which prevents it from any kind of data loss and ensures that the
data is secure at the Data layer.
Application releases: It makes application release rollout easy. Because
the Business Logic Layer is the only one to be updated every time then
we do not need other layers of architecture i.e. the Presentation layer
and the Data Access
Layer. Ease of learning: It is easy to learn because the learner has to
specialize only in the presentation, data, and business layer to more
quickly learn the specific parts of the application. The development
time taken by the application will be small as all the layers can work
together at the same time.
FABRIKAM 8
DISADVANTAGES OF BUSINESS LOGIC
LAYER:-
EXPENSIVE: -IT WILL BE VERY DIFFICULT
AND EXPENSIVE TO INSTALL AND
MAINTAIN THIS LAYER IN DATABASES.
SOURCE CONTROL: -SOURCE CONTROL IS
VERY DIFFICULT TO PERFORM PROPERLY
WITH EXISTING PROCEDURES.
FABRIKAM
THANK YOU
SONALI BORHADE
7822911107
[email protected]
FABRIKAM