Piste :
Différences ¶
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédente | Dernière révisionLes deux révisions suivantes | ||
fr:tutoriels:modules:jevent [2012/01/31 12:32] – [Jelix et la Communication inter modules] foxmask | fr:tutoriels:modules:jevent [2012/01/31 12:32] – [Mise en place] foxmask | ||
---|---|---|---|
Ligne 13: | Ligne 13: | ||
The administration module will send a message and retrieve the responses of the modules. | The administration module will send a message and retrieve the responses of the modules. | ||
- | ===== Mise en place ===== | + | ===== implementation |
- | + | ||
- | A nugget among so many others contained Jelix, is the internal communication between modules. | + | |
- | + | ||
- | But what is this? | + | |
- | + | ||
- | Sometimes modules may need to communicate with each other or whether they need information from each other. | + | |
- | + | ||
- | Imagine a simple case, an administrative interface that lists the modules (articles, wiki, news), present on his favorite site. | + | |
- | + | ||
- | The " | + | |
- | + | ||
- | The administration module will send a message and retrieve the responses of the modules. | + | |
This page will be made of one template and the responses of modules will be made with the help of Zones (Remind : the Zones are part of page) | This page will be made of one template and the responses of modules will be made with the help of Zones (Remind : the Zones are part of page) | ||
So for that, I define a controller " | So for that, I define a controller " | ||
+ | |||