Wiki source code of Applications
Last modified by superadmin on 2026/10/14 18:26
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | An application is a self-contained set of wiki Pages. It needs no build and no deployment: a Page already carries [[a script>>doc:documentation.xs.dev.get-started.scripts.WebHome]] and [[structured data>>doc:documentation.xs.dev.data-model.WebHome]] as well as text, which is what makes XWiki [[a second generation wiki>>doc:documentation.xs.user.get-started.second-generation-wiki.WebHome]]. | ||
| 2 | |||
| 3 | The Pages of an application export into a single [[##XAR## archive>>doc:documentation.xs.admin.exports.export-content-xar-format.format-specifications.WebHome]], which can be imported into another wiki. Published as an [[Extension>>doc:documentation.xs.user.extensions.WebHome]], that archive becomes something anyone can install, which is how the ready-made applications on the [[Extensions catalogue>>doc:extensions:Main.WebHome]] are distributed. | ||
| 4 | |||
| 5 | {{plantuml}} | ||
| 6 | @startuml | ||
| 7 | !theme bluegray | ||
| 8 | skinparam componentStyle rectangle | ||
| 9 | |||
| 10 | component "**wiki Pages**\ntext, structured data\nand scripts" as PAGES | ||
| 11 | component "**Application**\na self-contained\nset of Pages" as APP | ||
| 12 | component "**XAR archive**\na single file" as XAR | ||
| 13 | component "**Extension**\non the catalogue" as EXT | ||
| 14 | component "**Another wiki**" as WIKI | ||
| 15 | |||
| 16 | PAGES --> APP : combined into | ||
| 17 | APP --> XAR : export | ||
| 18 | XAR --> WIKI : import | ||
| 19 | XAR --> EXT : publish | ||
| 20 | EXT --> WIKI : install | ||
| 21 | @enduml | ||
| 22 | {{/plantuml}} | ||
| 23 | |||
| 24 | To find out which applications your own wiki has, [[view the Application Index>>doc:.view-applications.WebHome]]. |