ViewModel

Definition:

The ViewModel is an object that exposes data and handles the business logic of an application, providing a clear separation of presentation and data.

Related Terms:

  • Model
  • MVVM (Model-View-ViewModel) pattern
  • Presentation layer
  • Data binding