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

  • MEAN Web Development
  • Amos Q. Haviv
  • 227字
  • 2021-08-05 17:46:44

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.

主站蜘蛛池模板: 白朗县| 黎川县| 金昌市| 蓬莱市| 郴州市| 青铜峡市| 宁城县| 威宁| 开原市| 涞水县| 靖边县| 康乐县| 民丰县| 宜都市| 苏尼特左旗| 黄骅市| 吴川市| 和龙市| 新津县| 阿尔山市| 涟水县| 肃南| 南部县| 嘉义市| 祁门县| 兴海县| 朔州市| 六安市| 墨竹工卡县| 桐乡市| 蒙自县| 临邑县| 长顺县| 西乡县| 万州区| 越西县| 渝北区| 惠安县| 镶黄旗| 泽州县| 岑巩县|