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
3
votes
2 answers

Achieving 3-tier architecture with Symfony PHP

In school web projects that I have done until now I have build my applications with a 3-tier approach. A data layer, an application and a presentation layer. I have used this architecture with python and java and I want to use it also with php. I…
x_maras
  • 2,177
  • 1
  • 25
  • 34
3
votes
1 answer

Db Manager class for third tier (Data Access Layer) in asp.net

I am following 3-tier architecture for building a website. For this I created a class named DB Manager. Here is the class namespace DAL { class DBManager { private static DataTable dt = new DataTable(); private static string…
user8951186
3
votes
2 answers

Three-tier (non-web) database application in Java - what APIs / technologies are appropriate?

I'm currently in the research phase for a (very) small database application. It's for a local charity which only has 3 or 4 client machines which will be running the system - however in order to move some extraneous logic away from the clients, I'm…
David Roberts
  • 467
  • 4
  • 18
3
votes
1 answer

Object reference not set to an instance of an object MVC 5

I'm new to MVC working on 3-tier MVC project and i am using a ready database. now i need to write a query using linq in Business Layer to bring list of doctors like this : using System; using System.Collections.Generic; using System.Linq; using…
Ibrahim Samara
  • 111
  • 2
  • 11
3
votes
1 answer

Where do objects merge/join data in a 3-tier model?

Its probarbly a simple 3-tier problem. I just want to make sure we use the best practice for this and I am not that familiary with the structures yet. We have the 3 tiers: GUI: ASP.NET for Presentation-layer (first platform) BAL: Business-layer…
BerggreenDK
  • 4,915
  • 9
  • 39
  • 61
3
votes
0 answers

Refactor Mvc 5 Identity on 3 tier architecture

i'm trying to work with OWIN and new Asp.Net Mvc 5 Identity. Now i would like to refactor the template created by visual studio 2013 into a 3 tier application with: Presentation Layer (Mvc) Logic Data Usually i declare inside Logic layer the…
Gianpolo
  • 966
  • 8
  • 19
3
votes
1 answer

How to implement a 3-tier architecture in MVC5 WCF

Forgive me if this question has been asked already, I really did not want to ask this if it had already been addressed but I have not been successful in finding it. Needless to say, I have an existing web application in ASP.NET MVC 5. The client I…
plasmasnakeneo
  • 2,221
  • 1
  • 13
  • 16
3
votes
2 answers

Is testable onion-style code in 3- or n-tier architecture possible without using an IoC container?

If I understand it correctly, in classic 3-tier/n-tier architecture the goal is to ultimately separate responsibilities in such a way that each layer shouldn't have to know about what is going on/being used internally in lower tiers. However, if…
3
votes
4 answers

How can i show an error message, in a message box in C#, of SQL exception(unique identifier) in 3-tier application?

I am designing a windows form 3-tier application using C# and SQL. I have designed user registration page which is connected with the database using stored procedures. I have put textboxes to take input from user. I have used unique constraint for…
Anus Kaleem
  • 544
  • 4
  • 16
3
votes
9 answers

Architecture: Where to put a service class that does not depend on any other service or repository component

Consider a web-application with a repository layer (persistence), a service layer (application) and a web (UI) layer. Consider a component (i.e. ExternalProgramExecutor) which is not a UI component and does not depend or any component from the…
Igor Mukhin
  • 15,014
  • 18
  • 52
  • 61
3
votes
2 answers

Implementing Business Logic in 3 Tier Architecture

I have a web application I am working on and so far I have the data access layer finished. Each table has its own class that creates objects of rows of that table, so each object represents a row of a table. The functions each object has is…
roflwaffle
  • 29,590
  • 21
  • 71
  • 94
3
votes
8 answers

How many of you do 3-tier design?

3-Tier design has been my standard design philosophy for years for database driven applications, and it has never failed me. For those who practice it, describe your layers. I've found that many people muddle up the business tier and the data access…
FlySwat
  • 172,459
  • 74
  • 246
  • 311
3
votes
1 answer

Design Approach of a New ERP (3-tier) - Please advice

I am currently designing a new ERP which will have 10 different modules. I am using SQL server for database. .NET platform for programming. For desktop part, I am using WPF, for Web, ASP.NET I am interested in knowing your opinion about the…
3
votes
2 answers

Gridview with complex sqldatasource in 3-tier architecture

I have implemented a 3-tier arhitecture which can be seen in below link http://geekswithblogs.net/edison/archive/2009/04/05/a-simple-3-tier-layers-application-in-asp.net.aspx In the example above it uses a DataTable as sqldatasource and binds it to…
HOY
  • 1,067
  • 10
  • 42
  • 85
3
votes
2 answers

Placement of DTO / POCO in a three tier project

I've been in the process of re-writing the back-end for a web site and have been moving it towards a three-tiered architecture. My intention is to structure it so: Web site <--> WCF Service (1) <--> Business Layer (2) <--> Data Layer (3) My issue is…
GrandMasterFlush
  • 6,269
  • 19
  • 81
  • 104