Questions tagged [three-tier]

The three-tier architecture model is a framework for logical design model; it segments an application's components into three tiers of services that correspond to logical layers of the application.

The three-tier architecture model is a framework for logical design model; it segments an application's components into three tiers of services. These tiers do not necessarily correspond to physical locations on various computers on a network, but rather to logical layers of the application.

A three-tier architecture is a client-server architecture in which the functional process logic, data access, computer data storage and user interface are developed and maintained as independent modules on separate platforms.

The three tiers are usually defined like this:

  • Presentation tier: 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 which it puts out the results to the browser/client tier and all other tiers in the network. (In simple terms it is a layer which users can access directly such as a web page, or an operating systems GUI)
  • Application tier (also known as business logic, logic tier, or middle tier): the logical tier is pulled out from the presentation tier and, as its own layer, it controls an application’s functionality by performing detailed processing.
  • Data tier: the data tier includes the data persistence mechanisms (database servers, file shares, etc.) and the data access layer that encapsulates the persistence mechanisms and exposes the data. The data access layer should provide an Application Programming Interface (API) to the application tier that exposes methods of managing the stored data without exposing or creating dependencies on the data storage mechanisms. Avoiding dependencies on the storage mechanisms allows for updates or changes without the application tier clients being affected by or even aware of the change. As with the separation of any tier, there are costs for implementation and often costs to performance in exchange for improved scalability and maintainability.

During an application's life cycle, the three-tier approach provides benefits such as reusability, flexibility, manageability, maintainability, and scalability.

109 questions
0
votes
0 answers

Inconsistent Accessibility Problem in .NET

I am creating a Three-Tier Architecture Demo .NET Project. While I was creating my layers, I was faced with that error. Severity Code Description Project File Line Suppression State Error CS0060 Inconsistent accessibility: base class…
0
votes
1 answer

Flash App loading crossdomain.xml from app server fails?

Overview I'm writing a web application using three tier architecture. I have three Amazon EC2 ubuntu servers. The first server handles the presentation of the application and includes my main flash file. The second EC2 instance represents my…
0
votes
0 answers

Three tier java application in spring boot application with REST APIs

I have a spring boot application with 3 tier architecture client->Application server(Spring boot application)->DB. I want to split the current app server into two, one for handling the client request/response and business logic like controllers and…
Lisa_
  • 19
  • 1
  • 11
0
votes
1 answer

WordPress hosting on AWS using three tier architecture

I am trying to implementing wordpress website using three tier architecture on AWS for my educational purpose. I had created MySQL database instance and one ec2 instance for wordpress website. As per AWS three tier documentation there are three…
0
votes
0 answers

Dynamic Side menu using three tier

Can anyone please provide the complete c# codes for a data driven side menu in three tier architecture.i have tried for that but I don't know how to make menu dynamic
GOKU
  • 19
  • 9
0
votes
0 answers

How come my gridview doesn't return what i updated?

so this time, I want to update a data but when I do, the table ends up becoming blank and nothing pops up. So for example, my modal will pop up and i can edit, but the fields end up becoming blank and when i try to click save changes, the table of…
Jed
  • 11
  • 3
0
votes
1 answer

Classes location

Good morning, in my project I'm using three-tier architecture, I have one package for controller, and one for service, and another one for data model and repositories (I'm using spring data). So I need to create some classes just for the web…
Ismail
  • 2,322
  • 1
  • 12
  • 26
0
votes
1 answer

Service oriented and three-tier architecture together?

Can I use SOA and three-tier in one application? Using SOAP to connect for external services, using MQ and Spring MVC. I have an application server and server for the database.
Anton
  • 604
  • 2
  • 11
  • 22
0
votes
2 answers

Is a three-tiered architecture with REST-like Business Logic possible or viable for secure web applications?

So feel free to not only answer this question but to throw out suggestions or improvements. I've never put together a large scale web application before. Here's my thought process: Persistence Layer: Standard Database (MySQL right now) Business…
Spidy
  • 39,723
  • 15
  • 65
  • 83
0
votes
1 answer

Coursework help:

I am writing a comparitive essay on two-tier and three architecture in terms of database applications. I would just like to confirm a few things. 2 tier is Client - Server 2 tier is Application on client - database on server. 2 tier implements…
London Student
  • 895
  • 6
  • 15
  • 22
0
votes
1 answer

What is wrong with my code? Showing Unhandled Exception: System.IO.FileNotFoundException

I am learning c# and I am trying to do a basic login Console Application using the Three Tier Architecture with Factory Method Design Pattern. I added all the layers and implemented all the logics associated with the login app. But when i try to run…
chintuyadavsara
  • 1,509
  • 1
  • 12
  • 23
0
votes
0 answers

How to fetch a column from another table according to specific condition?

I'm making a webform of a hospital in VS-2012 using three-tier architecture. And I'm using MS-SQL Server 2014. Also, I'm new to the coding so it will be really helpful if the answer is given without using any jargons. Thanks. 1.contains picture of…
0
votes
1 answer

Three-Tier architecture: what should be in data layer?

I built a monitoring web application that reads from server log files. After that, business logic pull other information by using a geolocalization service. Do I should consider both log file and geolocalization database as my data layer?
0
votes
1 answer

How does the Three Tier architectural style works? Some handy example

I have been provided with a Java Application on which to apply the Three-Tier architectural style; One of the use cases to do is the login. I've studied all the theory and rules that apply to this architectural style, but I need to understand the…
Zoythrus
  • 165
  • 1
  • 11
0
votes
1 answer

This function can only be invoked from LINQ to Entities

var quotes = (from q in db.Intrebaris where q.id_materie == id_mat & q.id_tip_intrebare == tip_intr select q) .OrderBy(x =>SqlFunctions.Rand()) .Take(10); return quotes.ToList(); Do you have any idea why this happens? Thank a lot!
Fer Andrei
  • 11
  • 1