3 Tiered? N-Tiered? Domain Driver Design?

Posted on 2011-05-09
Medium Priority
Last Modified: 2012-06-21
Where does DDD fit into the discussion of the number of Tiers in an architecture?

I use:

- MVC3
- Entity Framework
- ViewModels
- Manager classes to manage the interaction between ViewModels and EF4 partial classes

I prefer:
- The IRepository pattern to make changing database or db frameworks easy
- Domain Driven Design

How many Tiers have I described?
Is it even possible anymore to count the number of Tiers?

Question by:newbieweb
  • 2
  • 2
LVL 42

Assisted Solution

dqmq earned 2000 total points
ID: 35723162
Up to a point, you can count the number of tiers.  1,2, or 3.  But, the "n" in n-tiers sort of implies that number is variant.

But not by listing development methodologies and technologies, as you have done. Using those technologies, you can develop 1,2,3,or N tier.  

Author Comment

ID: 35723255
I am a little confused by tier names:

Can you give me an example of the best practice use of n-tiers?
LVL 42

Accepted Solution

dqmq earned 2000 total points
ID: 35723775
One tier:
  Put a static html page on your desktop and open it with a browser. Everything done on the workstation.  

Two tier:
  Find a static html page on a website and open it with a browser.  Internet server delivers html to the workstaion, workstation renders it.

Three tier:
  Use the login page of a website.  Application on web server looks up your credentials on a database server, delivers an html response to the workstation.

  Purchase something on amazon.  Application on webserver orchestrates the complex process of shopping cart checkout, inluding looking up actual delivery charges from UPS and validating your Mastercard through some Merchant account.

 Check out this explanation:



Author Closing Comment

ID: 35753655

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question