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