Шаблон model — view — viewmodel





The view model retrieves data from the model and then makes that data available to the view, and may reformat the data in some way that makes it simpler for the view to handle. Later, the MVC pattern became popular with Java developers when WebObjects was ported to Java. Например, если пользователь хочет скопировать какой-то текст, то командой является Copy Text.

Похожие записи: