locked
Which tier application is this RRS feed

  • Question

  • User-389597101 posted

    Hi

    If my windows application and the database are on the same server then it will be 1-tier application and if they are on separate machines then it is 2-tier architecture. Is my understanding correct.

    Wednesday, April 15, 2015 4:41 AM

Answers

  • User71929859 posted

    that means that application and database on the same machine is a 1-tier architecture and on different machines is a 2-tier architecture?

    Yes. Physical separation of the application deployment means tiers.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, April 26, 2015 9:10 AM

All replies

  • User-1366948256 posted

    Nope, that is not correct.  In multitier or n Tier applicaiton there will be different layers(Tiers) for different purposes for example. Database, Business Logic,Presentation layer, Payment Gateway etc.

    In ASP.NET world we will have seperate projects mostly class libraries under a solution.

    You can find more information about MultiTier application on following links.

    http://en.wikipedia.org/wiki/Multitier_architecture

    https://msdn.microsoft.com/en-us/library/bb384398.aspx

    http://www.codeproject.com/Articles/430014/N-Tier-Architecture-and-Tips

    Wednesday, April 15, 2015 5:24 AM
  • User-389597101 posted

    Hi Jalpesh

    Thanks for the reply. There is a difference between layer and tier (http://www.codeproject.com/Tips/277818/Difference-in-layer-and-tier-architecture). We use the term interchangeably but they are different

    Wednesday, April 15, 2015 6:18 AM
  • User753101303 posted

    Hi,

    Yes as far as I know tier is supposed to be a physical deployment consideration while layer is a logical consideration. That said they are words that are more or less correctly defined, used and understood so depending on the context it might be better to avoid too much jargon (and this one in particular).

    Wednesday, April 15, 2015 10:07 AM
  • User-389597101 posted

    Hi

    Sorry for the late reply so does that means that application and database on the same machine is a 1-tier architecture and on different machines is a 2-tier architecture?

    Thursday, April 23, 2015 5:06 AM
  • User753101303 posted

    To me yes, "tier" implies a physical separation (not a native English speaker so not sure it is the same but in French "tiers" can mean also basically "someone else than yourself" or "a 3rd person" like http://en.wikipedia.org/wiki/Narration#Third-person etc... so you have the notion of a "physically distinct entity").

    Try perhaps https://pranshujain.wordpress.com/2006/09/15/layers-and-tiers/

    If you include the client side HTML UI layer it could be also 2 and 3 tiers rather than 1 and 2 maybe.

    Frankly as I said earlier I rarely use this jargon an prefer to talk about the "web server", the "application server", the "database server" etc...

    Edit: plus it depends if you are interested in how it IS deployed or in how it COULD be deployed etc... I really hate the jargon ;-) I'll let someone else to follow up if needed...

    Thursday, April 23, 2015 5:54 AM
  • User71929859 posted

    that means that application and database on the same machine is a 1-tier architecture and on different machines is a 2-tier architecture?

    Yes. Physical separation of the application deployment means tiers.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, April 26, 2015 9:10 AM