Kavin Kumar
This video explains about the most commonly used software architecture, layered architecture which is also known as N-tire architecture.
I have shown the commonly used 5 layers in most of the software application architecture in the layered architecture or N-tire architecture, but generally the layers can be selected based on the needs of the application.
Presentation layer.
second layer is service layer.
Third layer is business logic layer.
Fourth layer is, persistence layer.
Fifth layer is database layer.
In this layered N tire architecture, each layer performs a unique role and even the components inside these layers are also performs some unique tasks.
So let’s see how the each layer communicates with each other.
The architecture diagram that shown in the example is a closed architecture.
Here the closed indicates that the request that comes to any of application layer should go through all of the layers.
Also this layered architecture provides the separation of concern.
Based on the business scenario, some layers can be opened but detailed care should be taken while doing so since it may have heavy performance
or security risks.
Arbitrary scores are also given based on different features like development, testing, deployment, performance and agility.
Source
Similar Posts
23 thoughts on “1. Software Application N-tier (Layered) Architecture design pattern | Tutorial with example”
Comments are closed.
This is interesting. My trainer calls the persistent layer the "DAO" layer (Data Access Objects)
the backgroud music effects the listenig quality of main topic, more over you are so fast to explain(speed)
no music please, otherwise it is good videos
Great explained brother…Helped me alot in understanding this pattern♥️
Plz remove the background music.
Nice video
I'll like to benchmark the scoring with 2-tier and 3-tier. Do you have this side by side comparison?
Anony is good teacher
On what form the data (for example age in an employee details) from user interface is transferred through each layer.. pls explain ??!
Thank you
Crystal clear explanation ! maybe the music is a little bit too loud but i will totally recomend this video to colleagues !
Amazing video. Honestly, I like that there are videos with the text-based voice. I'm not a native English speaker, and I have a very hard time trying to understand Indian teachers, who seem to be the only people who bother to upload content this specific. Thank you for your help,I hope you continue like this.
music is tooooo much annoyed
It would have been quite better if there wasn't any background music
*tier
Great explanation bud!
Good video… but dam that voice….goodness v.v…. if there was another video like this without the voice id watch it..
The content is good, but the banjo in the background is rather distracting and the Steven Hawkingesque narrator makes it hard to follow.
N-tier not N-tire lol but thanks for the video, very easy to understand
What's the difference between "Layers" and "Tiers"?
Logical layers are merely a way of organizing your code. Typical layers include Presentation, Business and Data – the same as the traditional 3-tier model. But when we’re talking about layers, we’re only talking about logical organization of code. In no way is it implied that these layers might run on different computers or in different processes on a single computer or even in a single process on a single computer. All we are doing is discussing a way of organizing a code into a set of layers defined by specific function.
Physical tiers however, are only about where the code runs. Specifically, tiers are places where layers are deployed and where layers run. In other words, tiers are the physical deployment of layers.
Great video! Although the music makes it a bit distracting and hard to follow.
thanks
Actually the service is below the controller, otherwise everything is perfect. The service you described is actually the controller and vice-versa.