Wiki source code of Front End Architecture
Last modified by Vincent Massol on 2024/11/19 16:12
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | {{include document="XWiki.DesignClassSheet"/}} | ||
| 2 | |||
| 3 | There are 3 modules: | ||
| 4 | |||
| 5 | * [[xwiki-action>>Design.ActionModule]] | ||
| 6 | * xwiki-template: handles all templates and internally uses the xwiki-skin module to find templates in skins | ||
| 7 | * xwiki-displayer: in charge of display Entities (docs, etc). The currnet XWikiDocument.getRenderedContent() for example will be in there: displayer.display(document). | ||
| 8 | |||
| 9 | image:xwiki-front-architecture.png | ||
| 10 | |||
| 11 | Some ideas: | ||
| 12 | |||
| 13 | * The template module returns an XDOM object (ie templates are written in any rendering-supported syntax) and it's up to the Action to use the rendering module to generate the output. | ||
| 14 | * The displayers also return XDOM |