Исходный код вики UI паттерны состояния
Версия 7.4 от Alexandr Fokin на 2022/12/29 23:46
Последние авторы
| author | version | line-number | content |
|---|---|---|---|
| 1 | |(% style="width:75px" %) |(% style="width:108px" %) |(% style="width:671px" %) |(% style="width:637px" %) | ||
| 2 | |(% colspan="1" rowspan="3" style="width:75px" %)((( | ||
| 3 | ==== MVC ==== | ||
| 4 | )))|(% style="width:108px" %)Model|(% style="width:671px" %)DTO, содержащая поля, необходимые для формирования View.|(% colspan="1" rowspan="3" style="width:637px" %)((( | ||
| 5 | |||
| 6 | ))) | ||
| 7 | |(% style="width:108px" %)View|(% style="width:671px" %)Некоторый шаблон представления данных. (Шаблон разметки или структуры данных внешнего публичного интерфейса) | ||
| 8 | Содержит информацию о привязке конкретных полей Model. | ||
| 9 | |(% style="width:108px" %)Controller|(% style="width:671px" %)Модуль принимает входной запрос, формирует Model и передает его во View. Возвращает в ответе результат. | ||
| 10 | |(% colspan="1" style="width:75px" %) |(% style="width:108px" %) |(% style="width:671px" %) |(% colspan="1" style="width:637px" %) | ||
| 11 | |(% colspan="1" rowspan="3" style="width:75px" %)((( | ||
| 12 | ==== MVP ==== | ||
| 13 | )))|(% style="width:108px" %)Model|(% style="width:671px" %) |(% colspan="1" rowspan="3" style="width:637px" %) | ||
| 14 | |(% style="width:108px" %)View|(% style="width:671px" %) | ||
| 15 | |(% style="width:108px" %)Presenter|(% style="width:671px" %) | ||
| 16 | |(% colspan="1" style="width:75px" %) |(% style="width:108px" %) |(% style="width:671px" %) |(% colspan="1" style="width:637px" %) | ||
| 17 | |(% colspan="1" rowspan="3" style="width:75px" %)((( | ||
| 18 | ==== MVVM ==== | ||
| 19 | )))|(% style="width:108px" %)Model|(% style="width:671px" %) |(% colspan="1" rowspan="3" style="width:637px" %)C# и WPF ~| Паттерн MVVM | ||
| 20 | [[https:~~/~~/metanit.com/sharp/wpf/22.1.php>>https://metanit.com/sharp/wpf/22.1.php]] | ||
| 21 | |(% style="width:108px" %)View|(% style="width:671px" %)Некоторый шаблон представления данных. (Шаблон разметки внешнего публичного интерфейса). | ||
| 22 | Содержит информацию о привязке конкретных полей Model и обработке событий ввода. | ||
| 23 | |(% style="width:108px" %)View model|(% style="width:671px" %) | ||
| 24 | |(% colspan="1" style="width:75px" %) |(% style="width:108px" %) |(% style="width:671px" %) |(% colspan="1" style="width:637px" %) | ||
| 25 | |(% colspan="1" rowspan="3" style="width:75px" %)((( | ||
| 26 | ==== MVI ==== | ||
| 27 | )))|(% style="width:108px" %)Model|(% style="width:671px" %) |(% colspan="1" rowspan="3" style="width:637px" %)((( | ||
| 28 | Современная MVI-архитектура на базе Kotlin | ||
| 29 | https://habr.com/ru/company/badoo/blog/429728/ | ||
| 30 | |||
| 31 | Архитектура MVI | ||
| 32 | https://russianblogs.com/article/1258733528/ | ||
| 33 | |||
| 34 | MVI - a Reactive Architecture Pattern | ||
| 35 | https://medium.com/quality-content/mvi-a-reactive-architecture-pattern-45c6f5096ab7 | ||
| 36 | |||
| 37 | Реактивные приложения с Model-View-Intent. Часть 2: View и Intent | ||
| 38 | https://habr.com/ru/company/tinkoff/blog/338558/ | ||
| 39 | |||
| 40 | ---- | ||
| 41 | |||
| 42 | ===== Unidirectional Data or State Flow (UDF). ===== | ||
| 43 | |||
| 44 | The Case for Unidirectional Data Flow | ||
| 45 | [[https:~~/~~/www.exclamationlabs.com/blog/the-case-for-unidirectional-data-flow/>>https://www.exclamationlabs.com/blog/the-case-for-unidirectional-data-flow/]] | ||
| 46 | |||
| 47 | |||
| 48 | ))) | ||
| 49 | |(% style="width:108px" %)View|(% style="width:671px" %) | ||
| 50 | |(% style="width:108px" %)Intent|(% style="width:671px" %) | ||
| 51 | |(% colspan="1" style="width:75px" %) |(% style="width:108px" %) |(% style="width:671px" %) |(% colspan="1" style="width:637px" %) | ||
| 52 | |||
| 53 | ---- | ||
| 54 | |||
| 55 | Паттерны для новичков: MVC vs MVP vs MVVM | ||
| 56 | https://habr.com/ru/post/215605/ | ||
| 57 | |||
| 58 | Альтернативный взгляд на MVC, MVP и MVVM | ||
| 59 | [[https:~~/~~/medium.com/you-gotta-get-schwifty/альтернативный-взгляд-на-mvc-mvp-и-mvvm-389841cefa70>>https://medium.com/you-gotta-get-schwifty/альтернативный-взгляд-на-mvc-mvp-и-mvvm-389841cefa70]] | ||
| 60 | |||
| 61 | ---- | ||
| 62 | |||
| 63 | ==== Внутренние ссылки: ==== | ||
| 64 | |||
| 65 | ====== Дочерние страницы: ====== | ||
| 66 | |||
| 67 | {{children/}} | ||
| 68 | |||
| 69 | ====== Обратные ссылки: ====== | ||
| 70 | |||
| 71 | {{velocity}} | ||
| 72 | #set ($links = $doc.getBacklinks()) | ||
| 73 | #if ($links.size() > 0) | ||
| 74 | #foreach ($docname in $links) | ||
| 75 | #set ($rdoc = $xwiki.getDocument($docname).getTranslatedDocument()) | ||
| 76 | * [[$escapetool.xml($rdoc.fullName)]] | ||
| 77 | #end | ||
| 78 | #else | ||
| 79 | No back links for this page! | ||
| 80 | #end | ||
| 81 | {{/velocity}} | ||
| 82 | |||
| 83 | ---- |