Smalltalk MVC: Untangling the Misconceptions of Model-View-Controller
2025-09-07
This article delves into the Smalltalk MVC pattern, clarifying long-standing misconceptions surrounding MVC, particularly the deviations in Apple's Cocoa version. The author emphasizes the independence and reusability of the model in Smalltalk MVC, noting that the model interacts with the view and controller only indirectly through notifications. This contrasts with the Cocoa version of MVC, where controllers (and now view controllers) often become the least reusable components. The article further explains how to correctly identify models, ranging from simple observable booleans to complex models, and how to handle view models and function argument models to build cleaner, more maintainable application architectures.
(stlab.cc)
Development
Design Pattern