This chapter covers the MVC pattern.
Definition
MVC (model-view-controller) is an architectural pattern. This pattern is commonly used in web applications and in developing powerful user interfaces. Trygve Reenskaug first described MVC in 1979 in a paper titled “Applications programming in Smalltalk-80TM: How to use Model-View-Controller,” which was written before the existence of the World Wide Web. So, at that time, there was no concept of web applications. But modern-day applications are an adaptation of that original concept. Instead of treating it a true design pattern, some developers ...