The n-tier tag has no wiki summary.
3
votes
1answer
190 views
Why doesn't layered architecture translate easily to tiered architecture?
Basically, I'm trying to understand why layered and tiered are that different, and why they don't translate easily to each other.
I understand that layered could be 3 separate class files for UI, BL ...
0
votes
2answers
127 views
how to expose certain tables of an internal database on a public site
I have an internal database at my work. At the moment we are using excel to import data, but this is very error prone, so I would like to replace this with some javascript based application which ...
5
votes
2answers
215 views
How to achieve N-Tier type in Codeigniter MVC
I know that N-Tier intended to separate layers on different network
but I would like to have the same code separation in codeigniter
I got this idea to have
Model : for database CRUD - > Data layer
...
1
vote
1answer
288 views
CQRS with Repository pattern and Inversion of Control (with DI)
I assigned a POC project to someone where I asked to implement both Command Query Responsibility Segregation, Inversion of Control (with Dependency Injection) and Repository pattern. “Someone” gave ...
0
votes
1answer
535 views
Layered architecture using Entity Framework with different class libraries
Our business requirements required to create a layered and modular architecture. So I designed an architecture to make it as decoupled and as modular as possible. I will list my layers below
ASP ...
1
vote
1answer
313 views
Application Logic – which of the two definitions is correct?
This is my understanding of the Application Layer:
• It implements Application logic
• this layer contains Application Services, which are used by external consumers to talk to your application
...
1
vote
1answer
117 views
When do domain concepts become application constructs?
I recently posted a question regarding recovering a DDD architecture that became an anemic domain model into a multitier architecture and this question is a follow-on of sorts.
My question is when ...
5
votes
1answer
445 views
Project/DLL separation of concerns in ASP.NET MVC
I'm coming from a web forms n-tier background into ASP.NET MVC projects, and I'm wondering what the best practices are for separation of the components of MVC into different libraries (or not to) in ...
17
votes
3answers
999 views
Do stored procedures violate three-tier separation?
Some colleagues have told me that having business logic in stored procedures in the database violates the three-tier separation, since the database belongs to the data layer whereas stored procedures ...
2
votes
2answers
88 views
Good technologies for developing a modular server component in .net?
I am using WPF, Prism and Unity to develop the user interface for a .net application. The UI will run from a PC, but I also need to develop a separate complex server component that will provide ...
2
votes
1answer
115 views
Triggering Data Changes in N-Tier
I've been studying n-tier architectures as of late, particularly in VB.NET with Entity Framework and/or LINQ to SQL. I understand the basic concepts, but have been wondering about best practices in ...
7
votes
3answers
481 views
Motivation for a service layer (instead of just copying dlls)?
I'm creating an application which has 2 different UIs so I'm making it with a service layer which I understood is appropriate for such scenario.
However I found myself just creating web methods for ...
2
votes
1answer
288 views
Service Layer - how broad should it be, and should it also be used from the local application?
The background:
I need to build a desktop application with some operations (CRUD and more) (=winforms), I need to make another application which will re-use some of the functions of the main ...
6
votes
2answers
3k views
Dependency injection with n-tier Entity Framework solution
I am currently designing an n-tier solution which is using Entity Framework 5 (.net 4) as its data access strategy, but am concerned about how to incorporate dependency injection to make it testable / ...
5
votes
4answers
929 views
How should UI layer pass user input to BL layer?
I'm building an n-tier application, I have UI, BL, DAL & Entities (built from POCO) projects. (All projects have a reference to the Entities).
My question is - how should I pass user input from ...
4
votes
2answers
215 views
Domain Objects with Interfaces
I'm in a situation where part of my system has a dependency on another module in the same system, but the modules themselves need to remain independently deployable, where the parts they depend on ...
1
vote
2answers
883 views
What is a best practice tier structure of a Java EE 6/7 application?
I was attempting to find a best practice for modeling the tiers in a Java EE application yesterday and couldn't come up with anything current. In the past, say java 1.4, it was four tiers:
...
0
votes
2answers
609 views
WCF Service in an N-tier Application
Is it recommended to use a WCF Service Library in developing an N-Tier Windows Application? Also is it better to use the VS wizards to create the DataTables and DataSets? And if so should I add all of ...
3
votes
1answer
291 views
Architecting an organization's web strategy. What is the preferred method here?
I'm working on a solution for an organization that needs to last them long term (as subjective as that is).
They currently have a Joomla installation whereby the CMS talks directly to the database, ...
6
votes
1answer
430 views
Definition of a 3-tier system
People often claim that they are following a '3-tier (or n-tier) architecture', and sometimes they then claim to be switching to a Domain Model. But I really never have understood what this mythical ...
0
votes
2answers
995 views
WCF + N-tier = why?
I've seen projects that use N-tier with WCF. When creating a WCF project in the solution it is often named with the word "service?"
The main questions:
Why and what benefit do you have when using WCF ...
4
votes
6answers
1k views
3-Tier Object-Oriented Design Flaw?
I am going through training at my new job to use good object-oriented design with a 3-tier programming style. My supervisor says I have a design problem with my code:
class Program
{
public ...
6
votes
8answers
274 views
What benefit do I get from good methodology?
One of my friends has worked for nearly 10 years, asked me why he needs to learn new things such as unit-testing, MVC, Multi-tier architecture (he creates 3-tier application but designs like 2-tier), ...
3
votes
2answers
340 views
“Don't cross the streams” Database access objects independant of the Data tier in an N-Tier architecture?
I'm adding functionality to our website which performs long-running processes asynchronously using MSMQ. Doing this ansynch, however means we need to notify users when their requests are completed. ...
3
votes
1answer
416 views
How do you know if you should use Self-Tracking Entities or DTOs/POCOs?
What are some questions I can ask myself about our design to identify if we should use DTOs or Self-Tracking Entities in our application?
Here's some things I know of to take into consideration:
We ...
0
votes
4answers
637 views
Business layer access to the data layer
I have a Business layer (BL) and a Data layer (DL). I have an object o with a child objects collection of Type C. I would like to provide a semantics like the following o.Children.Add("info"). In ...
