Questions tagged [3-tier]

For issues relating to setting up and utilizing a 3-tier architecture.

3-tier is a software architecture in which the presentation layer, business access layer and data access layer are developed and maintained as independent modules, sometimes on separate platforms.

370 questions
2
votes
0 answers

How to use tokens in 3-tier web-app using WCF

Good day. I've looked all over for an example of how to do this, and while I have found all sorts of useful info on how to implement bits of it, the overall solution still eludes me. I have a 3-tier web-based application (Presentation tier is Web…
ChrisC
  • 1,161
  • 12
  • 26
2
votes
4 answers

What goes where in 3-tier architecture

Recently, our professor stated that our presentation layer should consist of mostly method calls and that most of our code should be done in the business object and data access layers. My question is does this usually include the code for user…
Programming Newbie
  • 1,207
  • 5
  • 31
  • 51
2
votes
1 answer

Entity Framework best practice with asp.net webforms application

I am building as asp.net application on .net framework 4.0 and I will be using Linq to entities (Entity Framework) as my DataModel (DAL), my design pattern will be the 3-tier layers where the Entity Framework will be the DAL layer. My question is…
Alex
  • 5,971
  • 11
  • 42
  • 80
1
vote
1 answer

Implementing Layered Approach

I would like to create 3-tier application in Java (Swing GUI). What is the best approach for creating layering? Is it package or creating separate project and including JAR files.
Nav Ali
  • 1,232
  • 6
  • 17
  • 26
1
vote
1 answer

Architecture dilemma: serving images in a 3-tier (mvc3 webapp -> webservice -> couchdb) setup

I have a project with a 3-tier architecture. User front-ends (one of them is a regular ASP.NET MVC3 web app) communicate with a common ASP.NET web service which acts as an intermediary to a CouchDB data store. Until now, I've only been transferring…
aoven
  • 2,248
  • 2
  • 25
  • 36
1
vote
3 answers

tiered webforms classified as MVC?

Where I work, we have a project, written in .NET3.5 as a webforms project. It is tiered; presentation layer, logic layer, and data later. We have these weekly 'tech sessions' at work. I gave a presentation about MVC. My tech lead decided to cut in,…
1
vote
1 answer

Is it DataSet/DataTableAdapter can be considered as DAL?

I am doing a system with 3 tier architecture. I have 2 folder named DAL and BLL. Can I put my Dataset.xsd file in DAL folder and consider it as a that data access layer. Or is it wrong according to real world situation?
Memoc
  • 303
  • 3
  • 17
1
vote
2 answers

3 Tier Architecture - data tier just stores data only?

Does the data tier verify any of the user's input? or does it just store data? Example - User adds email to his profile. Is this right? Presentation Tier - Verify Email format is valid (client side) Logic tier Verify Email format is valid…
001
  • 62,807
  • 94
  • 230
  • 350
1
vote
1 answer

How to avoid writing many functions that just call another function when implementing a Business Logic layer

I am working on a web application that uses Angular 12 for the frontend and ASP.NET Core 6 for the backend. In our team we usually write just about anything as a 3-layer application (if possible) consisting of a presentation layer, a business logic…
Chris
  • 1,417
  • 4
  • 21
  • 53
1
vote
1 answer

C# SQLCommandBuilder Help

I have project where i want to use the sqlcommandbuilder. My only problem is that i can not find a decent example of how to use it, or just simply does not understand why it is used like that. I am building my application based on 3-tier…
user717186
1
vote
1 answer

Can I Return DTOs From DAL

I have started using an onion architecture because I wasn't satisfied with my previous project structure. My main question is, can I return DTOs from the data access layer? This is my current structure: /Core - Application -…
Tom el Safadi
  • 6,164
  • 5
  • 49
  • 102
1
vote
1 answer

Give a good example of 3-tier architecture?

http://www.codeproject.com/KB/architecture/three_tier_architecture.aspx Does this website give a good example on 3-tier architecture? I thought it was a good example, but seemed like a few of the 1 star raters actually said that it's not a good…
Joyce
  • 437
  • 1
  • 8
  • 20
1
vote
1 answer

3-tier architecture (Monolithic?) vs Microservices

I'm doing some research about Information Systems Architecture and I found out that there are some different answers about this topic. I found answers here saying that it is wrong to compare 3-tier with Microservices or SOA, because they are…
Joao
  • 29
  • 1
  • 11
1
vote
1 answer

Where to place Reader/Writer/Emailer ... *er classes in this package structure?

The way I was initially taught to structure 3-tier is as follows: dao domain services utils jsf (beans) ... A *er class that is instantiatable would fit none of these packages especially utils where classes would mostly group static methods. It…
James P.
  • 19,313
  • 27
  • 97
  • 155
1
vote
1 answer

3-tiers application using ASP.NET and Linq 2 Sql with multiple tables

hello everyone i have a problem with my 3-tiers application i don't know how to get data from multiple tables using linq2sql in 3 tiers architecture application here is each layers code GestionProjetCommon Project Client Class : public class…
Houssam
  • 125
  • 1
  • 1
  • 8