- 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.
- GraphQL學(xué)習(xí)指南
- oreilly精品圖書:軟件開發(fā)者路線圖叢書(共8冊(cè))
- WordPress Plugin Development Cookbook(Second Edition)
- The Complete Coding Interview Guide in Java
- Unity Game Development Scripting
- App Inventor創(chuàng)意趣味編程進(jìn)階
- Advanced UFT 12 for Test Engineers Cookbook
- Unity 5.X從入門到精通
- Web前端開發(fā)技術(shù):HTML、CSS、JavaScript
- Drupal 8 Development Cookbook(Second Edition)
- HTML5與CSS3權(quán)威指南
- Java程序設(shè)計(jì)教程
- Beginning PHP
- Developer,Advocate!
- Java程序性能優(yōu)化實(shí)戰(zhàn)