Drupal is frequently referred as a Content Management Framework, does it comply with the MVC paradigm? If it does, how Drupal implements MVC?
Thanks.
The concept of MVCs was first introduced by Trygve Reenskaug, who proposed it as a way to develop desktop application GUIs. Today the MVC pattern is used for modern web applications because it allows the application to be scalable, maintainable, and easy to expand.
The MVC paradigm divides the logic of a web application into three distinct areas, or concerns: model, view, and controller. In practice, each concern comprises multiple components and files. A typical MVC application contains a number of model classes, view templates, and controller classes.
Major drawbacks of MVC in react js include manipulation of DOM which is very expensive and also at the cost of time and memory wastage. For implementing MVC, knowledge of multiple languages and technologies is required which requires enormous manpower having different expertise.
The MVC pattern is widely used in program development with programming languages such as Java, Smalltalk, C, and C++.
No, Drupal follows the PAC (Presentation-Abstraction-Control) model rather than MVC. There is an excellent blog post explaining this at Larry Garfield's site.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With