- DevOps with Kubernetes
- Hideto Saito Hui Chuan Chloe Lee Cheng Yang Wu
- 238字
- 2021-07-02 13:41:43
The MVC design pattern
One of the most popular application design patterns is Model-View-Controller (MVC). This defines three layers: the Model layer is in charge of data queries and persistence, such as loading and storing data to a database; the View layer is in charge of the User Interface (UI) and the Input/Output (I/O); and the Controller layer is in charge of business logic, which lies in between the View and the Model:

There are some frameworks that help developers to make MVC easier, such as Struts (https://struts.apache.org/), SpringMVC (https://projects.spring.io/spring-framework/), Ruby on Rails (http://rubyonrails.org/), and Django (https://www.djangoproject.com/). MVC is one of the most successful software design pattern, and is used for the foundation of modern web applications and services.
MVC defines a borderline between every layer, which allows several developers to jointly develop the same application. However, it also causes some negative side effects. The size of the source code within the application keeps getting bigger. This is because the database code (the Model), the presentation code (the View), and the business logic (the Controller) are all within the same VCS repository. This eventually has an impact on the software development cycle. This type of application is called a monolithic application. It contains a lot of code that builds a giant EXE or war program.
- 算法零基礎(chǔ)一本通(Python版)
- 深度學(xué)習(xí):算法入門與Keras編程實(shí)踐
- 嚴(yán)密系統(tǒng)設(shè)計(jì):方法、趨勢與挑戰(zhàn)
- C#開發(fā)案例精粹
- Java Fundamentals
- 響應(yīng)式Web設(shè)計(jì):HTML5和CSS3實(shí)戰(zhàn)(第2版)
- ExtJS Web應(yīng)用程序開發(fā)指南第2版
- ActionScript 3.0從入門到精通(視頻實(shí)戰(zhàn)版)
- Go語言從入門到精通
- Docker:容器與容器云(第2版)
- Android應(yīng)用開發(fā)攻略
- Android開發(fā)進(jìn)階實(shí)戰(zhàn):拓展與提升
- HTML5程序開發(fā)范例寶典
- JavaScript前端開發(fā)程序設(shè)計(jì)教程(微課版)
- Learning Network Programming with Java