Understanding Layers in a Web Application

I am a user interface developer and would like to understand the various application layers, such as user interface layer, service level, etc.

Could you explain in understandable terms what role each layer plays? Also, how do you determine which architecture to use?

Please provide some simple online links if you can. Thanks.

+4
source share
2 answers

I wrote a record on the lines that you are after here .

The 5-layer architecture is primarily concerned with the logical and physical breakdown of code into packages that support reuse.

As you can see from the diagram below, it breaks the system into (surprise!) 5 layers. Unlike many other architectures that focus on โ€œcore horizontalโ€ layers (for example, the user interface, BL, and DAL), the 5-layer architecture formally recognizes the other parts as a logical layer that deserves equal recognition. Please read the official description (link above) for a complete and correct introduction.

enter image description here

+2
source

Well, this is a very extensive concept, which will be summarized here .... but MVC is undoubtedly the most important and famous architecture in the field of web applications. V-view, which is related to how data is provided to the user. M-model, which defines the business model and logic. This layer can be further divided into sublayers: - the most important of them: - the level of service (here all the service code) and the resource layer, for example. A C-Controller database that acts as a glue between a view and a model layer. This decision maker controls the flow of applications.

You can start with the link below: -

http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller The above wiki has a lot of language specific links that you can continue with.

-3
source

All Articles