Three-tier is a client–server architecture in which the user interface, functional process logic ("business rules"), computer data storage and data access are developed
The three-tier model is software architecture and a software design pattern.
The three-tier architecture was comes into existence to improve management of code and contents and to improve the performance of the web based applications. There are mainly three layers in three-tier architecture.
They are define as follows
This is the topmost level of the application. The presentation tier displays information related to such services as browsing merchandise, purchasing, and shopping cart contents. It communicates with other tiers by outputting results to the browser/client tier and all other tiers in the network.
It is also known as business logic, logic tier, data access tier, or middle tier. The logic tier is pulled out from the presentation tier and, as its own layer, it controls an application’s functionality by performing detailed processing.
This tier consists of database servers. Here information is stored and retrieved. This tier keeps data neutral and independent from application servers or business logic. Giving data its own tier also improves scalability and performance.
Working information of layers in architecture
is Business Logic which contains all the code of the server-side .This layer have code to interact with database and to query, manipulate, pass data to user interface and handle any input from the UI as well.
Data represents the data store like MS Access, SQL Server, an XML file, an Excel file or even a text file containing data also some additional databases are also added to those layers.