Chapter 15. Model View Controller

The Model View Controller (MVC) pattern is the separation of an application’s graphical user interface (GUI) from its core logic. There is no absolute design for the MVC, but as with any design pattern, it should adapt to the situation you are faced with when developing. Patterns are available to help solve or manage common problems when developing, but will only hinder that development if we restrict ourselves to absolute or strict guidelines. These lines must be blurred from one application to the next based on the situation at hand. This is why most experienced developers use multiple patterns in an application to accomplish or satisfy unique situations that occur because, as we all know by now, no two applications ...

Get Ajax for Web Application Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.