Click here to Skip to main content
15,889,200 members
Please Sign up or sign in to vote.
2.38/5 (3 votes)
See more:
what is the purpose of business logic layer in 3 tier architecture? why we make layers in projects what is the need of that separation?
Posted

First of all let straight some things...
Layer - it is a logical group of functionality inside your application design.
Tier - it is a physical location where the code run.
You can say that tier is the place where layers are deployed and run. It is possible to run several different layers on the same tier or run the same layer on several tiers (load balancing).
Now that we are on the same page let see your question...
The logical separation of your application design to several layers gives you flexibility. For example if you separated the UI from the BLL, you will be able to add UI for different device (smart phone) with ease using the exactly same BLL...
It also enables you to move your tiers around with great flexibility - as the organization using your application you may separate one of your layers to a new tier and give more power to the whole system...
 
Share this answer
 
Comments
Andrius Leonavicius 24-Mar-14 19:00pm    
+5
To name a few ....

Re usability of the methods - Write once and reuse it where needed
Better code maintenance - Most important aspect form future maintenance point of view
If you implement BL as a service it can reside on different server than your UI and can be reused by other applications. For example retrieving customer information from corporate ERP can be used in multiple applications.
 
Share this answer
 
The business logic processes clients request. There are many reason you would need the seperation. This modularization allows you to make changes to your business logic without having to change the client-side of your application.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900