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

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.

主站蜘蛛池模板: 千阳县| 梁河县| 靖宇县| 泰安市| 泽库县| 大同县| 万年县| 蚌埠市| 稷山县| 武清区| 洪泽县| 横山县| 信宜市| 黑龙江省| 永靖县| 博兴县| 东城区| 方城县| 攀枝花市| 苏州市| 栾城县| 炎陵县| 陵川县| 西充县| 阿瓦提县| 尉氏县| 大方县| 定襄县| 蚌埠市| 沂源县| 会同县| 波密县| 阿合奇县| 宝丰县| 句容市| 嘉禾县| 商丘市| 当阳市| 威海市| 阿鲁科尔沁旗| 昌宁县|