官术网_书友最值得收藏!

Three-tier web application development

Most web applications are built in a three-tier architecture that consists of three important layers: data, logic, and presentation. In web applications, the application structure usually breaks down to database, server, and client, while in modern web development, it can also be broken into database, server logic, client logic, and client UI.

A popular paradigm of implementing this model is the MVC architectural pattern. In the MVC paradigm, the logic, data, and visualization are separated into three types of objects, each handling its own tasks. The View handles the visual part, taking care of user interaction. The Controller responds to system and user events, commanding the Model and View to change appropriately. The Model handles data manipulation, responding to requests for information or changing its state according to the Controller's instructions. A simple visual representation of MVC is shown in the following diagram:

Common MVC architecture communication

In the 25 years of web development, many technology stacks became popular building three-tier web applications; among those now ubiquitous stacks, you can find the LAMP stack, the .NET stack, and a rich variety of other frameworks and tools. The main problem with these stacks is that each tier demands a knowledge base that usually exceeds the abilities of a single developer, making teams bigger than they should be, less productive, and exposed to unexpected risks.

主站蜘蛛池模板: 衡南县| 抚远县| 霞浦县| 花垣县| 屏边| 葫芦岛市| 二手房| 蓬溪县| 加查县| 寿阳县| 甘洛县| 梁山县| 开阳县| 凯里市| 绥芬河市| 乌拉特后旗| 响水县| 昆山市| 甘南县| 布尔津县| 思南县| 丹阳市| 分宜县| 常山县| 神木县| 弥渡县| 万全县| 鹤庆县| 化隆| 张家港市| 阜阳市| 澳门| 平邑县| 临猗县| 东源县| 桐庐县| 盘山县| 宝坻区| 行唐县| 扶绥县| 韶关市|