An Overview of the Pattern
Anyone who knows me will tell you I am a big fan of organization and order, especially when it comes to sensible code management, which is why I really like this pattern. I look at the MVC as more of a way to structure and organize certain objects of a code base in an application; whether it is a web or desktop application, the same idea applies. Keeping the core server logic separated from the view or the data that the user is interacting with by adding a central layer, called the controller, not only keeps our code organized, it also creates a logical data flow that is easier to manage. Believe it or not, in theory this pattern exists in every web application—it is simply not always organized into separate layers ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access