Исходный код вики UI паттерны состояния
Версия 7.4 от Alexandr Fokin на 2022/12/29 23:46
Скрыть последних авторов
author | version | line-number | content |
---|---|---|---|
![]() |
7.4 | 1 | |(% style="width:75px" %) |(% style="width:108px" %) |(% style="width:671px" %) |(% style="width:637px" %) |
2 | |(% colspan="1" rowspan="3" style="width:75px" %)((( | ||
![]() |
7.2 | 3 | ==== MVC ==== |
![]() |
7.4 | 4 | )))|(% style="width:108px" %)Model|(% style="width:671px" %)DTO, содержащая поля, необходимые для формирования View.|(% colspan="1" rowspan="3" style="width:637px" %)((( |
5 | |||
![]() |
7.2 | 6 | ))) |
![]() |
7.4 | 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" %)((( | ||
![]() |
7.2 | 12 | ==== MVP ==== |
![]() |
7.4 | 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" %)((( | ||
![]() |
7.2 | 18 | ==== MVVM ==== |
![]() |
7.4 | 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" %)((( | ||
![]() |
7.2 | 26 | ==== MVI ==== |
![]() |
7.4 | 27 | )))|(% style="width:108px" %)Model|(% style="width:671px" %) |(% colspan="1" rowspan="3" style="width:637px" %)((( |
![]() |
5.1 | 28 | Современная MVI-архитектура на базе Kotlin |
29 | https://habr.com/ru/company/badoo/blog/429728/ | ||
30 | |||
31 | Архитектура MVI | ||
32 | https://russianblogs.com/article/1258733528/ | ||
33 | |||
![]() |
7.1 | 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 | |||
![]() |
5.1 | 40 | ---- |
41 | |||
![]() |
7.3 | 42 | ===== Unidirectional Data or State Flow (UDF). ===== |
43 | |||
![]() |
4.1 | 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/]] | ||
![]() |
7.3 | 46 | |
47 | |||
48 | ))) | ||
![]() |
7.4 | 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" %) | ||
![]() |
7.3 | 52 | |
53 | ---- | ||
54 | |||
![]() |
7.4 | 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 | |||
![]() |
7.3 | 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 | ---- |