Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I'm Developer from 2 years .I never Use 3 tier architecture In .net.Is it Required to learn 3 tier architecture for future use.Or It's Old Technology. Basically I'm Used EntityFramework and dataset.One More Thing Why We Use Stored Procedure.I'm Work with two major MNC Project's In Past .But I never required to Use Stored Procedure.
Posted

Three tier isn't old technology, or new technology: it's a development methodology which encourages us to separate concerns into logical groups: User interface, business logic and back end storage. And the idea is that the separation means we can reuse or replace sections when improvements are needed.

For example, you could start with a single user Access database, and upgrade to a multiuser SQL DB without changing the UI or BL.
Or you could rewrite the UI for a web application instead of Winforms without affecting the BL or DB.

It's not required, but it is a sensible approach for many tasks, and can improve reliability as it more strictly formalises the interface between modules.

Stored Procedures are not everyone's cup of tea: some don't use them at all, some use them for everything: I prefer to think I have a "sensible middle ground" where tasks which are better handled completely within the DB are done there so that the actual DB organisation doesn't have to be exposed - even to the Data Access Layer. That doesn't mean that SP's can replace a DAL - but they can complement it, reducing bandwidth usage and improving reliability and performance if used correctly.
But just like pretty much anything else, they can turn a nice simple system into a gawd-awful mess if used badly.
 
Share this answer
 
"Old" or "new" is totally irrelevant. Technology can be suitable or not, outdated or not; some new technology can be outdated (there are cases when technology is outdated even at the moment when it it presented to the market), and some old technologies are absolutely actual at this moment and will be actual for a long time.

Now, the number "3" in the term 3-tier is not a world constant, is not a law of nature. It is not a technology at all. It's just that in very many setting 3 tiers present suitable architecture. You cannot even "learn 3-tier architecture". You can learn related architectural solution, but more importantly, you need to learn technological components used to make and link the tiers in general. You should always come from the goals of the application system. If 3 tiers are not enough, create 4. If 2 is enough, create 2.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900