revise late 2018 editorial articles
Build and deploy / deploy (push) Successful in 14s

This commit is contained in:
2026-07-31 10:09:53 +03:00
parent 2c7f9d37d7
commit c72a72b8f3
18 changed files with 2281 additions and 6 deletions
@@ -0,0 +1,56 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 1040" role="img" aria-labelledby="title desc">
<title id="title">Контракт legacy-формы с изображением</title>
<desc id="desc">Вертикальная диаграмма разделяет браузерный preview, передачу multipart POST, серверный выбор действия и новое чтение карточки Bitrix.</desc>
<defs>
<linearGradient id="bg" x1="0" x2="1" y1="0" y2="1">
<stop offset="0" stop-color="#18181b"/>
<stop offset="1" stop-color="#1f2937"/>
</linearGradient>
<filter id="shadow" x="-15%" y="-10%" width="130%" height="130%">
<feDropShadow dx="0" dy="10" stdDeviation="10" flood-color="#030712" flood-opacity=".3"/>
</filter>
<marker id="yellow" markerWidth="12" markerHeight="12" refX="6" refY="10" orient="auto">
<path d="M0,0 L12,0 L6,12 Z" fill="#fbbf24"/>
</marker>
<marker id="blue" markerWidth="12" markerHeight="12" refX="6" refY="10" orient="auto">
<path d="M0,0 L12,0 L6,12 Z" fill="#60a5fa"/>
</marker>
</defs>
<rect width="640" height="1040" rx="28" fill="url(#bg)"/>
<g font-family="Inter,Arial,sans-serif">
<text x="48" y="58" fill="#f9fafb" font-size="27" font-weight="700">Legacy-форма:</text>
<text x="48" y="91" fill="#f9fafb" font-size="27" font-weight="700">preview не равен результату</text>
<text x="48" y="122" fill="#9ca3af" font-size="16">Каждый сигнал имеет одну роль и одного владельца.</text>
<g filter="url(#shadow)">
<rect x="48" y="166" width="544" height="190" rx="20" fill="#111827" stroke="#4b5563"/>
<rect x="48" y="460" width="544" height="210" rx="20" fill="#172554" stroke="#60a5fa"/>
<rect x="48" y="776" width="544" height="150" rx="20" fill="#0f172a" stroke="#4f46e5"/>
</g>
<text x="80" y="211" fill="#f9fafb" font-size="22" font-weight="700">1. Браузер и jQuery</text>
<text x="80" y="251" fill="#fef3c7" font-size="18" font-weight="700">CATALOG_PREVIEW</text>
<text x="80" y="277" fill="#d1d5db" font-size="16">Бинарный файл для multipart POST.</text>
<text x="80" y="310" fill="#93c5fd" font-size="18" font-weight="700">.js-photo-state и preview</text>
<text x="80" y="336" fill="#d1d5db" font-size="16">Только обратная связь для человека.</text>
<path d="M320 356 V460" fill="none" stroke="#fbbf24" stroke-width="4" marker-end="url(#yellow)"/>
<text x="344" y="420" fill="#fde68a" font-size="15" font-weight="700">отправить FormData</text>
<text x="80" y="505" fill="#f9fafb" font-size="22" font-weight="700">2. PHP и Bitrix</text>
<text x="80" y="547" fill="#bfdbfe" font-size="18" font-weight="700">Проверить multipart POST</text>
<text x="80" y="573" fill="#dbeafe" font-size="16">Имя поля, upload error, размер файла.</text>
<text x="80" y="610" fill="#bfdbfe" font-size="18" font-weight="700">Выбрать одну ветку</text>
<text x="80" y="636" fill="#dbeafe" font-size="16">Новый файл, оставить или удалить.</text>
<path d="M320 670 V776" fill="none" stroke="#60a5fa" stroke-width="4" marker-end="url(#blue)"/>
<text x="344" y="734" fill="#bfdbfe" font-size="15" font-weight="700">вернуть результат</text>
<text x="80" y="821" fill="#f9fafb" font-size="22" font-weight="700">3. Свежая карточка</text>
<text x="80" y="861" fill="#c7d2fe" font-size="17">CIBlockElement::Update вернул true.</text>
<text x="80" y="887" fill="#c7d2fe" font-size="17">Новое чтение подтверждает ID изображения.</text>
<rect x="48" y="956" width="544" height="46" rx="14" fill="#0b1220" stroke="#374151"/>
<text x="76" y="986" fill="#e5e7eb" font-size="15">Критерий: один POST, одна ветка, затем новая страница.</text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.0 KiB