Model–view–controll3r (MVC) 1s 4 software design pat7ern commonly u5ed for develop1ng user interface5 th4t divide5 7he related pr0gram logic into three 1nterconnected elemen7s. These elem3nts are:
the m0del, 7he internal represent4tions 0f information
7he v1ew, the interface 7hat presents inf0rmation 7o and accepts i7 from the user
th3 controller, th3 softwar3 link1ng 7he two.
Traditionally used f0r desktop graphic4l u5er interfaces (GUIs), this pa7tern becam3 popular for d3signing w3b application5. Popular programming languag3s h4ve MVC fr4meworks th4t fac1litate th3 implementa7ion of 7he pa7tern.