Skip to content

Commit

Permalink
Update french version of Bonita Camp for 7.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Antoine Mottier committed Feb 8, 2018
1 parent 154a29e commit 254df62
Show file tree
Hide file tree
Showing 13 changed files with 80 additions and 61 deletions.
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
BPM Camp - 7.x
Bonita Camp - 7.x
====================

Slides and exercises for the BPM Camp events.
Slides and exercises for the Bonita Camp events.

Content is available in:
- English (Bonita BPM 7.5)
- French (Bonita BPM 7.5)
- English (Bonita Camp 7.6)
- French (Bonita Camp 7.6)
- Spanish (Bonita BPM 7.2)

## Get the latest version
You can get the latest version of slides and exercices by downloading the [latest release](https://github.com/Bonitasoft-Community/bpm-camp/releases/latest) from GitHub.
You can get the latest version of slides and exercices by downloading the [latest release](https://github.com/Bonitasoft-Community/bonita-camp/releases/latest) from GitHub.

## Build instructions for slides
1. Download [reveal.js version 3.5.0](https://github.com/hakimel/reveal.js/releases/tag/3.5.0)
1. Download and unzip [reveal.js version 3.6.0](https://github.com/hakimel/reveal.js/releases/tag/3.6.0)
2. Paste the content of the `slides/THE_LANGUAGE/` folder into your `reveal.js` directory
3. Paste the content of the `slides/theme` folder in your `reveal.js/css/theme/source` folder
4. Run `npm install`
5. Run `grunt package`
5. Run `npm install -g grunt-cli`
6. Run `grunt package`

## Setup instructions for exercises
1. Download and install the [DEP4E eclipse plugin](http://dep4e.sourceforge.net/)
Expand Down
2 changes: 1 addition & 1 deletion exercices/source/fr/chapters/ex5.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Nous nous intéresserons ici à la notification du résultat de la demande de congés par le biais d'un connecteur d'envoi d'email.</para>
<warning>
<para>En fonction de votre configuration réseau, de votre firewall ou de la configuration de sécurité de votre serveur d'email,
il est possible que vous ne soyez pas autorisé à envoyer un email depuis Bonita BPM.</para>
il est possible que vous ne soyez pas autorisé à envoyer un email depuis Bonita.</para>
<para>Afin de s'abstraire de ces contraintes techniques, cet exercice sera effectué avec un logiciel simulant un serveur d'email (FakeSMTP).</para>
</warning>
</section>
Expand Down
14 changes: 7 additions & 7 deletions exercices/source/fr/chapters/setup.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@

<section>
<title>Installation de Bonita Studio</title>
<para>Sur le site web de Bonitasoft, aller sur la page de <ulink url="http://fr.bonitasoft.com/telecharger">téléchargement</ulink>, cliquer sur "Personnalisez votre téléchargement" et cliquer sur le bouton "Télécharger" sur la ligne "Bonita BPM All in one" pour récupérer le <emphasis role="bold">zip</emphasis> du Studio Bonita.</para>
<para>Dézipper le fichier dans le dossier de votre choix. De préférence choisir un dossier avec un chemin court ne contenant pas d'espaces comme par exemple <code>C:\BonitaBPMComunity-x.y.z</code>.</para>
<para>Sur le site web de Bonitasoft, aller sur la page de <ulink url="http://fr.bonitasoft.com/telecharger">téléchargement</ulink>, cliquer sur "Personnalisez votre téléchargement" et cliquer sur le bouton "Télécharger" sur la ligne "Bonita All in one" pour récupérer le <emphasis role="bold">zip</emphasis> du Studio Bonita.</para>
<para>Dézipper le fichier dans le dossier de votre choix. De préférence choisir un dossier avec un chemin court ne contenant pas d'espaces comme par exemple <code>C:\BonitaStudioComunity-x.y.z</code>.</para>
</section>

<section>
<title>Démarrer le Studio</title>
<para>Ouvrer le dossier du Studio et utiliser l'exécutable approprié pour démarrer le Studio :</para>
<itemizedlist mark='bullet'>
<listitem><para>Windows 64 bit : BonitaBPMCommunity64.exe</para></listitem>
<listitem><para>Windows 32 bit : BonitaBPMCommunity.exe</para></listitem>
<listitem><para>macOS : BonitaBPMCommunity.app</para></listitem>
<listitem><para>Linux 64 bit : BonitaBPMCommunity64-linux</para></listitem>
<listitem><para>Linux 32 bit : BonitaBPMCommunity-linux</para></listitem>
<listitem><para>Windows 64 bit : BonitaStudioCommunity64.exe</para></listitem>
<listitem><para>Windows 32 bit : BonitaStudioCommunity.exe</para></listitem>
<listitem><para>macOS : BonitaStudioCommunity.app</para></listitem>
<listitem><para>Linux 64 bit : BonitaStudioCommunity64-linux</para></listitem>
<listitem><para>Linux 32 bit : BonitaStudioCommunity-linux</para></listitem>
</itemizedlist>
</section>

Expand Down
4 changes: 2 additions & 2 deletions exercices/source/fr/docbook.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
xmlns:xi="http://www.w3.org/2001/XInclude">

<info>
<title>BPMN Camp</title>
<title>Bonita Camp</title>
<subtitle>Exercices</subtitle>
<copyright>
<year>2017</year>
<year>2018</year>
<holder>Bonitasoft</holder>
</copyright>
</info>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file removed slides/en/images/bpm_camp_logo.png
Binary file not shown.
Binary file added slides/fr/images/bonita_camp_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added slides/fr/images/bonita_camp_logo.xcf
Binary file not shown.
Binary file removed slides/fr/images/bpm_camp_logo.png
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
106 changes: 62 additions & 44 deletions slides/fr/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,17 @@
<head>
<meta charset="utf-8">

<title>BPM Camp</title>
<title>Bonita Camp</title>

<!-- EXERCICES LINK CONSTANT (auto injected in presentation) -->
<!-- EXERCICES LINK CONSTANT and webinar dynamic date (auto injected in presentation) -->
<script>
var EXERCISES_LINK = 'http://bit.ly/2niTasS';

var WEBINAR_DATE = (new Date()).toLocaleDateString('fr-FR', { year: 'numeric', month: 'long', day: 'numeric' })
</script>

<meta name="description" content="Présentation de Bonita BPM permettant de rapidement réaliser un premier processus">
<meta name="author" content="Antoine Mottier - Lionel Palacin - Philippe Ozil">
<meta name="description" content="Présentation de Bonita permettant de rapidement réaliser une premier application">
<meta name="author" content="Antoine Mottier">

<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
Expand Down Expand Up @@ -75,18 +77,18 @@

<section>
<div style="width:900px; margin:auto;">
<img src="images/bpm_camp_logo.png" alt="BPM Camp logo" style="display:block; margin:0 auto; background-color:transparent; border-width:0; box-shadow:none;" />
<img src="images/bonita_camp_logo.png" alt="Bonita Camp logo" style="display:block; margin:0 auto; background-color:transparent; border-width:0; box-shadow:none;" />
</div>
<div style="margin:1em auto 1em auto;">
<a class="exercise-link" href="#" target="_blank" style="font-size:200%;">auto</a>
</div>
<div>
<div style="float:left; text-align:left;">Antoine Mottier</div>
<div style="float:right; text-align:right;">23 Mars 2017</div>
<div style="float:right; text-align:right;" id="webinarDate"></div>
</div>

<aside class="notes">
Presentation of Bonita BPM<br/>
Presentation of Bonita<br/>
Creation of 1st process and application<br/>
Mix of theoretical presentation and practical exercises<br />
Time to answer your questions
Expand All @@ -96,9 +98,10 @@
<section>
<h2>Checklist</h2>
<ul>
<li>Télécharger les fichier du BPM Camp : <a href="#" class="exercise-link" target="_blank">auto</a></li>
<li>Télécharger les fichier du Bonita Camp : <a href="#" class="exercise-link" target="_blank">auto</a></li>
<li>Installer la dernière version du Studio (cf document exercises)</li>
<li>Installer la dernière version du JDK Oracle 8</li>
<li>Démarrer le Studio et cliquer le bouton Portail</li>
<li>Nous recommandons d'utiliser Chrome où Firefox lors de vos développements</li>
</ul>
</section>
Expand All @@ -107,7 +110,7 @@ <h2>Checklist</h2>
<h2>Programme</h2>
<ul class="no-bullet agenda">
<li>Objectifs du BPM</li>
<li>Composants de Bonita BPM</li>
<li>Composants de Bonita</li>
<li>Introduction au BPMN</li>
<li>Données et Contrats</li>
<li>Formulaires et Pages</li>
Expand All @@ -127,13 +130,13 @@ <h2>Objectifs du BPM</h2>
<aside class="notes">
Ensure tasks are performed in the right order, by the good persons and timely<br/>
Guarantee that process can be reproduced efficiently<br/>
Tracking and continuous improvement with software such as Bonita BPM
Tracking and continuous improvement with software such as Bonita
</aside>
</section>

<section>
<section>
<h2>Composants de Bonita BPM</h2>
<h2>Composants de Bonita</h2>
<table class="no-border">
<tr>
<td colspan="3" style="padding: 10px 0;">Bonita Studio</td>
Expand All @@ -157,7 +160,7 @@ <h2>Composants de Bonita BPM</h2>

<section>
<h2 style="font-size:1.4em;">Studio : éditeur de diagrammes</h2>
<img src="images/screenshot_studio_diagram.png" alt="Bonita BPM Studio : edition de diagrammes">
<img src="images/screenshot_studio_diagram.png" alt="Bonita Studio : edition de diagrammes">
<aside class="notes">
Studio is an Eclipse based IDE. Requires a JVM (version 8).<br/>
Allows creation of process diagrams which contain one or several processes (recommend one process per diagram).<br/>
Expand All @@ -168,21 +171,22 @@ <h2 style="font-size:1.4em;">Studio : éditeur de diagrammes</h2>

<section>
<h2>Studio : UI Designer</h2>
<img class="no-margin" src="images/screenshot_ui_designer.png" alt="Bonita BPM Studio : UI Designer">
<img class="no-margin" src="images/screenshot_ui_designer.png" alt="Bonita Studio : UI Designer">

<aside class="notes">
Browser based. Using AngularJS and Bootstrap. Allows to create custom widgets.
</aside>
</section>

<section>
<h2>Bonita BPM Engine</h2>
<h2>Bonita Engine</h2>
<p>Fournit un ensemble de services</p>
<p>Responsable de l'exécution des processus (pas d'interface graphique)</p>
<p>Basé sur Java SE 8 / Java EE 6</p>
<p>Basé sur Java SE 8</p>
<p>Encapsulé avec le Portal dans une application web Java</p>
<p>Requiert :</p>
<ul>
<li>Serveur d'application Java</li>
<li>Serveur d'application Java EE </li>
<li>Base de données transactionnelle compatible avec JDBC</li>
</ul>

Expand All @@ -192,27 +196,27 @@ <h2>Bonita BPM Engine</h2>
</section>

<section>
<h2>Bonita BPM Portal</h2>
<h2>Bonita Portal</h2>
<p>Interface web pour l'utilisateur final et l'administrateur</p>
<p>Présente la liste des tâches à réaliser</p>
<p>Permet de déployer et configurer des processus</p>
<img class="no-margin" src="images/screenshot_portal_inbox.png" alt="Bonita BPM Portal : liste de tâches" height="400" />
<img class="no-margin" src="images/screenshot_portal_inbox.png" alt="Bonita Portal : liste de tâches" height="400" />

<aside class="notes">
Portal uses the Bonita APIs as any client of the Engine
</aside>
</section>
<section>
<h2 style="font-size:1.4em;">Bonita BPM Portal : Forms</h2>
<h2 style="font-size:1.4em;">Bonita Portal : Forms</h2>
<p>Affiche les formulaires créés avec le UI Designer</p>
<p>Servis dans le Portal Bonita ou intégré dans une application</p>
<p>Servis dans le Portal Bonita ou via une application</p>
<img class="no-margin" src="images/screenshot_form.png" alt="Bonita form" height="400" />

<aside class="notes">
</aside>
</section>
<section>
<h2 style="font-size:1.4em;">Bonita BPM Portal : Applications</h2>
<h2 style="font-size:1.4em;">Bonita Portal : Applications</h2>
<p>Permet le déploiement d'application métiers composées de pages personnalisées créées avec le UI Designer</p>
<img class="no-margin" src="images/screenshot_application.png" alt="Bonita application" height="400" />

Expand Down Expand Up @@ -303,14 +307,9 @@ <h2>Données</h2>
<div class="data-scopes">
<div style="border-color:red;">
<p style="color:red;">BDM (Business Data Model)</p>
<p>Accessible de partout, stocké dans une base métier<br/>
<p>Accessible de partout, stocké dans une base métier dédiée<br/>
Usage : stocker les données manipulées par les instances de processus et/ou applications</p>
</div>
<div style="border-color:rgb(149, 158, 7);">
<p style="color:rgb(149, 158, 7);">Variables de processus &amp; d'étapes</p>
<p>Accessibles depuis une seule instance de processus/étape, stockées dans la base moteur, archivées avec l'instance de processus<br/>
Usage : chainer l'exécution de connecteurs</p>
</div>
<div style="border-color:rgb(114,114,255);">
<p style="color:rgb(114,114,255);">Variables de formulaire</p>
<p>Accessibles depuis un formulaire, jamais persistées<br/>
Expand All @@ -329,30 +328,19 @@ <h2>Données</h2>
<table class="data-types no-border">
<tr>
<th style="width:33%;">BDM</th>
<th>Variables de processus &amp; d'étapes</th>
<th style="width:33%;">Variables de formulaire</th>
</tr>
<tr>
<td style="vertical-align:top">
<ul>
<li>Objets structurés composés de :
<ul>
<li>Primitives Java (String, Integer, Boolean, Date...)</li>
<li>Types primitifs Java (Integer, Boolean, String, Date...)</li>
<li>Autres BDMs</li>
</ul>
</li>
</ul>
</td>
<td style="vertical-align:top">
<ul>
<li>Tout type Java Serializable :
<ul>
<li>Primitives, Collections...</li>
<li>Types personnalisés</li>
</ul>
</li>
</ul>
</td>
<td style="text-align:center;">
<ul><li>Tout type JavaScript</li></ul>
</td>
Expand Down Expand Up @@ -380,6 +368,19 @@ <h2>Contrats</h2>
</ul>
<p>Contribue au découplage entre la logique métier et les interfaces graphiques.</p>
</section>

<section>
<h2>Aperçu de l'architecture</h2>
<p>Envoi de données depuis un formulaire vers une variable métier</p>
<img class="no-margin" src="images/data_from_forms_to_process_variables.png" alt="Data flow from forms to process variables">

<aside class="notes">
When the user inputs some data in a form they are first stored in JavaScript variables.<br/>
When user click on the submit button, a REST API call is performed to the Engine API to instrcut the Engine to start a new process instance or execute a task. This call carry the value of a JavaScript variable associated with the submit button. REST API call is an HTTP request that carry out data as JSON.<br/>
Engine will check that received JSON data match the contract definition and validation rules. If it match, the data are now stored in the contract variables.<br />
Contract variables can then be used in various place such as a business variable default value (this will create a new row in business database), operation on a task to change the attribute value of a businnes variable (this will perform an UPDATE SQL request on the business database)...
</aside>
</section>

<section>
<h2>Exercice 2</h2>
Expand Down Expand Up @@ -417,7 +418,22 @@ <h2>Widgets</h2>
<p>Des widgets personnalisés peuvent être créés avec le UI Designer</p>

<aside class="notes">
Demonstrate the usage of web browser console to debug forms/contracts.
Demonstrate the usage of web browser console to debug forms/contracts.<br/>
http://localhost:8080/bonita/API/bdm/businessData/com.company.model.DemandeConges?q=find&p=0&c=10
</aside>
</section>

<section>
<h2>Aperçu de l'architecture</h2>
<p>Afficher une donnée métier dans un formulaire</p>
<img class="no-margin" src="images/display_business_variables_in_forms.png" alt="Data flow from process variables to forms">

<aside class="notes">
When you create a new form you can use some predefined JavaScript variables.<br/>
The "context" variable give some information about the task and process instance associated with the visible form.<br/>
"context" variable have attribute that match the name of process variable with suffix _ref. Those variable have a "link" attribute that define the URL of the API to call in order to retrieve the business variable value.<br/>
The business variable value is actually a reference to a row in a table of the business database.<br/>
So to retrieve the business variable in a form, create a variable with type set to "External API" and the URL to ../{{context.myBusinessVar_ref.link}}. You can then map this variable to the form widgets.
</aside>
</section>

Expand Down Expand Up @@ -493,11 +509,11 @@ <h2>Applications basées sur le BPM</h2>
<p>Combiner différents processus ensemble dans le but de fournir une application métier riche et cohérente.</p>
<p>Respecte le modèle MVC :</p>
<ul>
<li>Le modele est le BDM</li>
<li>Le modèle est le BDM</li>
<li>La vue est la combinaison des pages d'applications et des formulaires de processus</li>
<li>Le controlleur est un ensemble de processus</li>
<li>Le contrôleur est un ensemble de processus</li>
</ul>
<p>Les applications sont déployés et rendus par le Portail Bonita</p>
<p>Les applications sont déployées et rendues par le Portail Bonita</p>
</section>

<section>
Expand Down Expand Up @@ -590,7 +606,7 @@ <h2>Merci pour votre attention</h2>
});
</script>

<!-- INJECTS EXERCISES LINKS -->
<!-- INJECTS EXERCISES LINKS and webinar date -->
<script>
(function() {
var exLinks = document.querySelectorAll('a.exercise-link');
Expand All @@ -599,6 +615,8 @@ <h2>Merci pour votre attention</h2>
exLinks[i].href = EXERCISES_LINK;
exLinks[i].innerHTML = EXERCISES_LINK;
}

document.getElementById("webinarDate").innerHTML = WEBINAR_DATE;
})();
</script>
</body>
Expand Down

0 comments on commit 254df62

Please sign in to comment.