presentationsdefinierade
Presentationsdefinierade is a term used in software design to describe data and UI structures that are defined primarily by the presentation layer rather than by the domain model. In this approach, the form, labels, formats, and even selected fields of data are guided by how they will be displayed to users, and are mapped from the underlying domain objects through adapters or view models.
Characteristics include the separation of concerns between domain logic and presentation logic; the use of presentation
Benefits include greater flexibility in UI design, easier localization and formatting, and the ability to evolve
Drawbacks include potential data duplication between domain and presentation layers, the risk of UI logic creeping
Common use cases are web or mobile applications with diverse presentation requirements, reporting dashboards, and cross-platform
Related concepts include MVVM, MVC, DTOs, view models, and anti-corruption layers, all of which address the boundaries