Last post Apr 26, 2015 09:10 AM by Ruchira
Apr 15, 2015 04:41 AM|karang|LINK
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.
Apr 15, 2015 05:24 AM|Jalpesh P. Vadgama|LINK
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.
Apr 15, 2015 06:18 AM|karang|LINK
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
Apr 15, 2015 10:07 AM|PatriceSc|LINK
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).
Apr 23, 2015 05:06 AM|karang|LINK
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?
Apr 23, 2015 05:54 AM|PatriceSc|LINK
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").
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...
Apr 26, 2015 09:10 AM|Ruchira|LINK
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.
Please 'Mark as Answer' if this post helps you