0% found this document useful (0 votes)
13 views1 page

Three Layer Architecture

The document explains the three-layer architecture consisting of the Presentation Layer, which is the user interface; the Logical Layer, which contains the business logic and rules; and the Database Layer, responsible for data interactions. It also outlines the project structure for an LMS project, specifying the respective folders for each layer. Examples are provided for each layer to illustrate their functions within an application.

Uploaded by

Best Latest
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views1 page

Three Layer Architecture

The document explains the three-layer architecture consisting of the Presentation Layer, which is the user interface; the Logical Layer, which contains the business logic and rules; and the Database Layer, responsible for data interactions. It also outlines the project structure for an LMS project, specifying the respective folders for each layer. Examples are provided for each layer to illustrate their functions within an application.

Uploaded by

Best Latest
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Three-Layer Architecture Explanation

1 Presentation Layer (Front-end)


1️⃣
• This is the layer that users interact with directly.
• It contains the UI (User Interface), including forms, buttons, views, and pages.
• Example: The `Views` folder in an ASP.NET Core MVC project or a website’s frontend.

2️⃣Logical Layer (Business Logic Layer - BLL)


• This layer contains the business logic of the application.
• It handles calculations, validations, and business rules.
• Example: If a student is registering, this layer checks whether their email is unique.

3️⃣Database Layer (Data Access Layer - DAL)


• This layer is responsible for interacting with the database.
• It handles retrieving, inserting, updating, and deleting data.
• Example: `DbContext` in Entity Framework Core that interacts with SQL Server.

LMS Project Structure


• Presentation Layer: `LMSProject.Presentation`
• Business Logic Layer (BLL): `LMSProject.BLL`
• Data Access Layer (DAL): `LMSProject.DAL`

You might also like