MVC design pattern and its application
by
, 03-29-2022 at 04:25 PM (487 Views)
- MVC design pattern and its possible application
- MVC design pattern and its application (Part 2): Diagram of interaction between the three components
This pattern appeared quite a long time ago (in 1978), but its first description appeared much later, in 1988. Since then, the template has been developing further, giving rise to new approaches.
The idea is to split an existing code into three separate components: Model, View and Controller. According to the MVC pattern, these three components can be developed and maintained independently.
In this article, we will consider a diagram of possible interaction between these three components. This aspect was not covered in the first article, and one of the readers mentioned it in comments. If the interaction mechanism is not thoroughly considered or is inaccurate, all the advantages of using the pattern can be undermined. That is why this topic should be paid special attention to.