Model–view–controller (
MVC) is a software
architectural pattern mostly (but not exclusively) for implementing
user interfaces. It divides a given software application into three interconnected parts, so as to separate internal representations of information from the ways that information is presented to or accepted from the user.