Rename book to Process Control
This commit is contained in:
1 parent
919e79eb2a
commit
afb816f459
53 files changed
+5587
-503
No files matched your search
+87
-66
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="author" content="Romain De Groote">
|
||||
|
||||
<title>De l’appel à l’événement</title>
|
||||
<title>Contrôle de processus</title>
|
||||
<style>
|
||||
/* Default styles provided by pandoc.
|
||||
** See https://pandoc.org/MANUAL.html#variables-for-html for config info.
|
||||
@@ -27,41 +27,6 @@ ul.task-list li input[type="checkbox"] {
|
||||
margin: 0 0.8em 0.2em -1em; /* quarto-specific, see https://github.com/quarto-dev/quarto-cli/issues/4556 */
|
||||
vertical-align: middle;
|
||||
}
|
||||
/* CSS for syntax highlighting */
|
||||
html { -webkit-text-size-adjust: 100%; }
|
||||
pre > code.sourceCode { white-space: pre; position: relative; }
|
||||
pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }
|
||||
pre > code.sourceCode > span:empty { height: 1.2em; }
|
||||
.sourceCode { overflow: visible; }
|
||||
code.sourceCode > span { color: inherit; text-decoration: inherit; }
|
||||
div.sourceCode { margin: 1em 0; }
|
||||
pre.sourceCode { margin: 0; }
|
||||
@media screen {
|
||||
div.sourceCode { overflow: auto; }
|
||||
}
|
||||
@media print {
|
||||
pre > code.sourceCode { white-space: pre-wrap; }
|
||||
pre > code.sourceCode > span { text-indent: -5em; padding-left: 5em; }
|
||||
}
|
||||
pre.numberSource code
|
||||
{ counter-reset: source-line 0; }
|
||||
pre.numberSource code > span
|
||||
{ position: relative; left: -4em; counter-increment: source-line; }
|
||||
pre.numberSource code > span > a:first-child::before
|
||||
{ content: counter(source-line);
|
||||
position: relative; left: -1em; text-align: right; vertical-align: baseline;
|
||||
border: none; display: inline-block;
|
||||
-webkit-touch-callout: none; -webkit-user-select: none;
|
||||
-khtml-user-select: none; -moz-user-select: none;
|
||||
-ms-user-select: none; user-select: none;
|
||||
padding: 0 4px; width: 4em;
|
||||
}
|
||||
pre.numberSource { margin-left: 3em; padding-left: 4px; }
|
||||
div.sourceCode
|
||||
{ }
|
||||
@media screen {
|
||||
pre > code.sourceCode > span > a:first-child::before { text-decoration: underline; }
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
@@ -85,9 +50,15 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
|
||||
<link href="site_libs/bootstrap/bootstrap-cfe7114cbc4adb2af5ff3a891545d7fa.min.css" rel="stylesheet" append-hash="true" id="quarto-bootstrap" data-mode="light">
|
||||
<script src="site_libs/quarto-contrib/calc-exo-2.0.0/exo.js"></script>
|
||||
<link href="site_libs/quarto-contrib/calc-exo-2.0.0/exo.css" rel="stylesheet">
|
||||
<script src="site_libs/quarto-contrib/calc-quiz-1.0.0/quiz.js"></script>
|
||||
<link href="site_libs/quarto-contrib/calc-quiz-1.0.0/quiz.css" rel="stylesheet">
|
||||
<link href="site_libs/quarto-contrib/calc-further-1.0.0/further.css" rel="stylesheet">
|
||||
<link href="site_libs/quarto-contrib/calc-latex-tables-1.0.0/latex-tables.css" rel="stylesheet">
|
||||
<script src="site_libs/quarto-contrib/calc-notes-1.0.0/calc-notes.js"></script>
|
||||
<link href="site_libs/quarto-contrib/calc-notes-1.0.0/theme.css" rel="stylesheet">
|
||||
<link href="site_libs/quarto-contrib/calc-notes-1.0.0/high-contrast.css" rel="stylesheet">
|
||||
<link href="site_libs/quarto-contrib/calc-notes-1.0.0/calc-notes.css" rel="stylesheet">
|
||||
<link href="site_libs/quarto-contrib/calc-notes-1.0.0/narrow.css" rel="stylesheet">
|
||||
<script src="site_libs/quarto-contrib/calc-glossary-2.0.0/glossary.js"></script>
|
||||
<link href="site_libs/quarto-contrib/calc-glossary-2.0.0/glossary.css" rel="stylesheet">
|
||||
<script id="quarto-search-options" type="application/json">{
|
||||
@@ -130,7 +101,7 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
|
||||
nothing is attached to the links themselves: one capture-phase listener on
|
||||
the document reads the link's final address at click time.
|
||||
|
||||
If a language has not been built (./render-all.sh), its pages do not exist:
|
||||
If a language has not been built, its pages do not exist:
|
||||
the target is checked first and a short note is shown instead of a
|
||||
"Not Found" page.
|
||||
|
||||
@@ -146,12 +117,9 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
|
||||
var ROOT_LANG = 'en'; // the language at the top of _book/
|
||||
var COOKIE = 'notes-lang';
|
||||
var NOTE = {
|
||||
de: 'Diese Sprache wurde noch nicht erstellt. Einmal ./render-all.sh ausführen – '
|
||||
+ 'danach funktioniert der Wechsel auch in der Vorschau.',
|
||||
fr: 'Cette langue n’a pas encore été générée. Lancez une fois ./render-all.sh : '
|
||||
+ 'ensuite le changement fonctionne aussi dans l’aperçu.',
|
||||
en: 'This language hasn’t been built yet. Run ./render-all.sh once, '
|
||||
+ 'then switching works in the preview too.'
|
||||
de: 'Diese Sprache ist hier noch nicht verfügbar.',
|
||||
fr: 'Cette langue n’est pas encore disponible ici.',
|
||||
en: 'This language is not available here yet.'
|
||||
};
|
||||
|
||||
var here = (document.documentElement.lang || ROOT_LANG).slice(0, 2);
|
||||
@@ -165,9 +133,20 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
|
||||
var m = document.cookie.match(/(?:^|;\s*)notes-lang=(de|fr|en)(?:;|$)/);
|
||||
return m ? m[1] : null;
|
||||
}
|
||||
// path '/' on purpose: every book of these notes is served from one host,
|
||||
// each under its own folder, so a language picked in any of them is the
|
||||
// language all of them open in. A book hosted on its own would be no worse
|
||||
// off -- the cookie simply has nothing else to reach.
|
||||
var COOKIE_PATH = '/';
|
||||
function remember(code) {
|
||||
document.cookie = COOKIE + '=' + code + '; path=' + root + '; max-age=31536000; SameSite=Lax'
|
||||
document.cookie = COOKIE + '=' + code + '; path=' + COOKIE_PATH
|
||||
+ '; max-age=31536000; SameSite=Lax'
|
||||
+ (location.protocol === 'https:' ? '; Secure' : '');
|
||||
// a copy written under the book's own path by an earlier version would be
|
||||
// the more specific one and would shadow the shared cookie for good
|
||||
if (root !== COOKIE_PATH) {
|
||||
document.cookie = COOKIE + '=; path=' + root + '; max-age=0';
|
||||
}
|
||||
}
|
||||
|
||||
// a returning reader lands in the language picked last time
|
||||
@@ -189,7 +168,11 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
|
||||
box.style.cssText = 'position:fixed;left:50%;bottom:1.25rem;transform:translateX(-50%);'
|
||||
+ 'max-width:min(34rem,calc(100vw - 2rem));padding:.6rem .9rem;border-radius:6px;'
|
||||
+ 'background:#1f2328;color:#fff;font-size:.85rem;line-height:1.4;z-index:2000;'
|
||||
+ 'box-shadow:0 4px 16px rgba(0,0,0,.25)';
|
||||
// a status message, so it keeps its own dark surface in either mode; the
|
||||
// hairline is the page's rule colour, invisible on a light page and an
|
||||
// edge against a dark one, where the shadow alone no longer separates it
|
||||
+ 'border:1px solid var(--calc-line,#444);'
|
||||
+ 'box-shadow:0 4px 16px var(--calc-shadow,rgba(0,0,0,.25))';
|
||||
document.body.appendChild(box);
|
||||
setTimeout(function () { box.remove(); }, 7000);
|
||||
}
|
||||
@@ -230,7 +213,35 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
|
||||
}, true);
|
||||
})();
|
||||
</script>
|
||||
<style>:root { --calc-notecolor: #B45309; }</style>
|
||||
<style>:root {
|
||||
--calc-furthercolor-src: #6B3FA0;
|
||||
--calc-furthercolor: var(--calc-furthercolor-src);
|
||||
|
||||
}</style>
|
||||
<style>:root {
|
||||
--calc-notecolor-src: #B45309;
|
||||
--calc-notecolor: var(--calc-notecolor-src);
|
||||
|
||||
}</style>
|
||||
<script>(function (e) {
|
||||
var KEY = 'notes-contrast', forced = false;
|
||||
var picked = null;
|
||||
try { picked = localStorage.getItem(KEY); } catch (err) {}
|
||||
var q = null;
|
||||
try { q = window.matchMedia && window.matchMedia('(prefers-contrast: more)'); } catch (err) {}
|
||||
if (picked === 'more' || (picked !== 'normal' && (forced || (q && q.matches)))) {
|
||||
e.classList.add('hc');
|
||||
}
|
||||
if (q) {
|
||||
var f = function () {
|
||||
var p = null;
|
||||
try { p = localStorage.getItem(KEY); } catch (err) {}
|
||||
if (p === null) e.classList.toggle('hc', forced || q.matches);
|
||||
};
|
||||
if (q.addEventListener) q.addEventListener('change', f);
|
||||
else if (q.addListener) q.addListener(f);
|
||||
}
|
||||
})(document.documentElement);</script>
|
||||
|
||||
|
||||
</head>
|
||||
@@ -259,7 +270,7 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
|
||||
<nav id="quarto-sidebar" class="sidebar collapse collapse-horizontal quarto-sidebar-collapse-item sidebar-navigation docked overflow-auto">
|
||||
<div class="pt-lg-2 mt-2 text-left sidebar-header">
|
||||
<div class="sidebar-title mb-0 py-0">
|
||||
<a href="./">De l’appel à l’événement</a>
|
||||
<a href="./">Contrôle de processus</a>
|
||||
<div class="sidebar-tools-main tools-wide">
|
||||
<div class="dropdown">
|
||||
<a href="" title="" id="quarto-navigation-tool-dropdown-0" class="quarto-navigation-tool dropdown-toggle px-1" data-bs-toggle="dropdown" aria-expanded="false" role="link" aria-label=""><i class="bi bi-translate"></i></a>
|
||||
@@ -281,7 +292,7 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a href="./De-l-appel-à-l-événement.pdf" title="Download PDF" class="quarto-navigation-tool px-1" aria-label="Download PDF"><i class="bi bi-file-pdf"></i></a>
|
||||
<a href="./Contrôle-de-processus.pdf" title="Download PDF" class="quarto-navigation-tool px-1" aria-label="Download PDF"><i class="bi bi-file-pdf"></i></a>
|
||||
<a href="" class="quarto-reader-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleReader(); return false;" title="Basculer en mode lecteur">
|
||||
<div class="quarto-reader-toggle-btn">
|
||||
<i class="bi"></i>
|
||||
@@ -306,7 +317,7 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
|
||||
<li class="sidebar-item">
|
||||
<div class="sidebar-item-container">
|
||||
<a href="./00-orientation.html" class="sidebar-item-text sidebar-link">
|
||||
<span class="menu-text"><span class="chapter-number">1</span> <span class="chapter-title">Étape 0 — De quoi parle le tutoriel</span></span></a>
|
||||
<span class="menu-text"><span class="chapter-number">1</span> <span class="chapter-title">Étape 0 — De quoi il s’agit</span></span></a>
|
||||
</div>
|
||||
</li>
|
||||
<li class="sidebar-item">
|
||||
@@ -321,6 +332,23 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
|
||||
<span class="menu-text"><span class="chapter-number">3</span> <span class="chapter-title">Partie II — Franchir la frontière de processus</span></span></a>
|
||||
</div>
|
||||
</li>
|
||||
<li class="sidebar-item sidebar-item-section">
|
||||
<div class="sidebar-item-container">
|
||||
<a class="sidebar-item-text sidebar-link text-start collapsed" data-bs-toggle="collapse" data-bs-target="#quarto-sidebar-section-1" role="navigation" aria-expanded="false">
|
||||
<span class="menu-text">Annexes</span></a>
|
||||
<a class="sidebar-item-toggle text-start collapsed" data-bs-toggle="collapse" data-bs-target="#quarto-sidebar-section-1" role="navigation" aria-expanded="false" aria-label="Basculer la section">
|
||||
<i class="bi bi-chevron-right ms-2"></i>
|
||||
</a>
|
||||
</div>
|
||||
<ul id="quarto-sidebar-section-1" class="collapse list-unstyled sidebar-section depth1 ">
|
||||
<li class="sidebar-item">
|
||||
<div class="sidebar-item-container">
|
||||
<a href="./glossary.html" class="sidebar-item-text sidebar-link">
|
||||
<span class="menu-text">Glossaire</span></a>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
@@ -334,7 +362,6 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
|
||||
<li><a href="#sec-about" id="toc-sec-about" class="nav-link active" data-scroll-target="#sec-about">À propos de ces notes</a>
|
||||
<ul class="collapse">
|
||||
<li><a href="#sec-diagrams" id="toc-sec-diagrams" class="nav-link" data-scroll-target="#sec-diagrams">Comment lire les figures</a></li>
|
||||
<li><a href="#sec-build" id="toc-sec-build" class="nav-link" data-scroll-target="#sec-build">Construire ce livre</a></li>
|
||||
</ul></li>
|
||||
</ul>
|
||||
</nav>
|
||||
@@ -344,7 +371,7 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
|
||||
|
||||
<header id="title-block-header" class="quarto-title-block default">
|
||||
<div class="quarto-title">
|
||||
<h1 class="title">De l’appel à l’événement</h1>
|
||||
<h1 class="title">Contrôle de processus</h1>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -361,7 +388,7 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
|
||||
<div>
|
||||
<div class="quarto-title-meta-heading">Date de publication</div>
|
||||
<div class="quarto-title-meta-contents">
|
||||
<p class="date">24 septembre 2026</p>
|
||||
<p class="date">25 septembre 2026</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -371,7 +398,7 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
|
||||
<div>
|
||||
<div class="abstract">
|
||||
<div class="block-title">Résumé</div>
|
||||
Résumés pas à pas du tutoriel SIN.04028 « From Calling to Eventing », de l’appel de méthode direct à une architecture événementielle sur MQTT. Process Control, donné par Reto Konig, Université de Fribourg, semestre d’automne 2026.
|
||||
Un petit programme, reconstruit pas à pas de l’appel de méthode direct à une architecture événementielle sur MQTT : ce qui bouge à chaque étape, et qui finit par connaître qui.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -394,34 +421,28 @@ MULTILINGUAL (see _extensions/notes/i18n.lua):
|
||||
picture, just still.
|
||||
- fixed section ids (#sec-...) so anchors are identical in all three books.
|
||||
|
||||
English is the verified source: the tutorial being summarised is written in
|
||||
English. French and German are translations of it.
|
||||
English is the verified source: the material these notes are built from is
|
||||
written in English. French and German are translations of it.
|
||||
|
||||
Code identifiers, mailbox and topic names, file names, commands and protocol
|
||||
terms are never translated (consoleIn.outbox, rot13/inbox, WatchService,
|
||||
Mediator.java, .msg, put/take, Intent/Status/Event).
|
||||
-->
|
||||
<p>Ces notes résument le tutoriel <strong>« SIN.04028 — From Calling to Eventing »</strong>, parcouru étape par étape. Le tutoriel lui-même se trouve à côté de ce livre, dans <code>SIN.04028-From-Calling-to-Eventing/README.md</code>, et fait partie du cours <em>Process Control</em> donné par Reto Konig à l’Université de Fribourg (semestre d’automne 2026).</p>
|
||||
<p>Ces notes suivent un petit programme à travers une longue série de reconstructions, de l’appel de méthode direct à une architecture événementielle sur MQTT. Chaque reconstruction laisse le programme faire exactement ce qu’il faisait avant, et change qui connaît qui.</p>
|
||||
<p>Le programme construit ne change jamais : vous tapez une ligne, elle revient décalée de 13 lettres.</p>
|
||||
<pre class="text"><code>keyboard → ROT13 → console</code></pre>
|
||||
<p>Ce qui change, c’est tout ce qui l’entoure. Le tutoriel reconstruit le même système encore et encore en posant trois questions, dans cet ordre :</p>
|
||||
<p>Ce qui change, c’est tout ce qui l’entoure. Le même système est reconstruit encore et encore, et chaque reconstruction pose trois questions, dans cet ordre :</p>
|
||||
<blockquote class="blockquote">
|
||||
<p><strong>Qui connaît qui ?</strong></p>
|
||||
<p><strong>Qui possède quoi ?</strong></p>
|
||||
<p><strong>Qui décide comment le système est câblé ?</strong></p>
|
||||
</blockquote>
|
||||
<p>Un résumé est ajouté ici chaque fois qu’une étape est terminée : le livre grandit donc au rythme du travail. Chaque résumé dit ce que l’étape a fait, ce qui a été observé à l’exécution, et ce qui a bougé sur le plan architectural — en général une connaissance qui a changé de mains.</p>
|
||||
<p><em>D’après le matériel de Reto Konig, Université de Fribourg.</em></p>
|
||||
<section id="sec-diagrams" class="level2">
|
||||
<h2 class="anchored" data-anchor-id="sec-diagrams">Comment lire les figures</h2>
|
||||
<p>Chaque figure existe une fois comme dessin et trois fois comme langue. Dans la version web, une figure qui porte un flux de messages possède une petite barre de lecture : <strong>Lancer</strong> fait parcourir toute la chaîne à un message, <strong>Un saut</strong> avance d’une seule étape, et <strong>Réinitialiser</strong> remet tout à zéro. Les boîtes s’allument au passage du message : on voit ainsi quel composant attend et lequel travaille.</p>
|
||||
<p>Dans le PDF, et dans un navigateur sans JavaScript, la même image est là — simplement immobile. Rien dans ces notes ne dépend de l’animation.</p>
|
||||
</section>
|
||||
<section id="sec-build" class="level2">
|
||||
<h2 class="anchored" data-anchor-id="sec-build">Construire ce livre</h2>
|
||||
<p>Les trois livres proviennent d’une source unique :</p>
|
||||
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb2"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="ex">./render-all.sh</span> <span class="co"># figures, puis html + pdf pour en, fr, de</span></span>
|
||||
<span id="cb2-2"><a href="#cb2-2" aria-hidden="true" tabindex="-1"></a><span class="ex">./render-all.sh</span> <span class="at">--serve</span> <span class="co"># …puis sert _book/ sur http://localhost:8000</span></span></code></pre></div><button title="Copier vers le presse-papier" class="code-copy-button"><i class="bi"></i></button></div>
|
||||
<p><code>_book/</code> contient le livre anglais, <code>_book/fr/</code> le français et <code>_book/de/</code> l’allemand ; le menu de langue dans la barre latérale passe de l’un à l’autre et retient le choix. Un simple <code>quarto render</code> ne construit que l’anglais et vide <code>_book/</code>, ce qui supprime les deux autres — utilisez donc le script.</p>
|
||||
|
||||
|
||||
</section>
|
||||
@@ -1051,8 +1072,8 @@ Mediator.java, .msg, put/take, Intent/Status/Event).
|
||||
<div class="nav-page nav-page-previous">
|
||||
</div>
|
||||
<div class="nav-page nav-page-next">
|
||||
<a href="./00-orientation.html" class="pagination-link" aria-label="[Step 0 — What the tutorial is about]{.en}[Étape 0 — De quoi parle le tutoriel]{.fr}[Schritt 0 — Worum es im Tutorial geht]{.de}">
|
||||
<span class="nav-page-text"><span class="chapter-number">1</span> <span class="chapter-title">Étape 0 — De quoi parle le tutoriel</span></span> <i class="bi bi-arrow-right-short"></i>
|
||||
<a href="./00-orientation.html" class="pagination-link" aria-label="[Step 0 — What this is about]{.en}[Étape 0 — De quoi il s'agit]{.fr}[Schritt 0 — Worum es geht]{.de}">
|
||||
<span class="nav-page-text"><span class="chapter-number">1</span> <span class="chapter-title">Étape 0 — De quoi il s’agit</span></span> <i class="bi bi-arrow-right-short"></i>
|
||||
</a>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
Reference in new issue
Block a user