Model View Controller (MVC)

Three components
     ● View - UI
     ● Model - data/business entities
     ● Controller - logic that changes the data based on actions triggered by the UI


This is a compound pattern
View and Controller has strategy implementation
View can be a composite implementation
Model and View are synched through Observer


One disadvantage is that it is difficult to unit test




© 2026 Better Solutions Limited. All Rights Reserved. © 2026 Better Solutions Limited TopPrevNext