Jump to content

Model–view–adapter

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Richoncode (talk | contribs) at 16:32, 25 March 2008. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Model-view-adapter (MVA) is an architectural pattern, which at the same time is also a Multitier architecture, used in software engineering. In complex computer applications that present a large amount of data to the user, a developer often wishes to separate data (model) and user interface (view) concerns, so that changes to the user interface will not affect data handling, and that the data can be reorganized without changing the user interface. The model-view-adapter solves this in a similar way to the model-view-controller while having the added benefit of decoupling the view from the model such that any view can be used the multiple models. As such, only the adapter is familiar with both the model and the view. Additionally, multiple adapters may be create to change the way one view presents data for a given model.

[the Model-View-Adapter pattern]