Wiki source code of Applications
Version 19.1 by Silvia Macovei on 2009/10/16
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
7.1 | 1 | = Applications = |
![]() |
1.1 | 2 | |
![]() |
7.1 | 3 | As you've learned from the [[Programming feature>>Features.Programming]] it's possible to put code inside XWiki pages. You can combine several pages together to form an application. In other words an application is simply a self-contained set of XWiki pages. You can export these pages into a single archive file named a XAR (it stands for XWiki Archive) which can then be imported again into other wikis. This is a very nice way to create reusable applications. |
![]() |
1.1 | 4 | |
![]() |
5.1 | 5 | Applications offer a powerful way to create advanced content within wiki pages. |
![]() |
1.2 | 6 | |
![]() |
7.1 | 7 | //Screenshot of the Calendar Application// |
![]() |
1.8 | 8 | |
![]() |
7.1 | 9 | image:Calendar.png |
![]() |
1.7 | 10 | |
![]() |
17.1 | 11 | //Screenshot of the Bulletin Board Application// |
12 | |||
13 | image:BulletinBoardTopic.png | ||
14 | |||
15 | //Screenshot of the Polls Application// | ||
16 | |||
17 | image:Polls.png | ||
18 | |||
![]() |
7.1 | 19 | === List of Applications available for download on XWiki.org === |
![]() |
1.4 | 20 | |
![]() |
7.1 | 21 | This is a list of packaged applications you can import in your wiki, coming straight from the [[Code Zone>>code:Applications.WebHome]]. To learn more about the Import/Export process please check the [[Admin Guide's Import/Export page>>AdminGuide.ImportExport]]. |
![]() |
1.4 | 22 | |
![]() |
9.1 | 23 | {{velocity}} |
![]() |
6.1 | 24 | #set ($sql = ", BaseObject as obj where obj.name=doc.fullName and obj.className='XWiki.ApplicationClass' and obj.name<>'XWiki.ApplicationClassTemplate' order by doc.name") |
![]() |
15.1 | 25 | #set ($applications = $xwiki.searchDocumentsNames("code", $sql, 0, 0, null)) |
![]() |
1.4 | 26 | #foreach ($item in $applications) |
![]() |
11.1 | 27 | * [[code:$item]] |
![]() |
1.4 | 28 | #end |
![]() |
5.1 | 29 | #set ($dummy = $context.setDatabase("platform")) |
![]() |
7.1 | 30 | {{/velocity}} |
![]() |
18.1 | 31 | |
32 | === Creating new Applications === | ||
33 | |||
34 | If you'd like to create new applications with XWiki our [[Developer's Guide>>http://platform.xwiki.org/xwiki/bin/view/DevGuide/]] will help you through the process. | ||
35 | |||
36 | If you are interested in participating to the XWiki project development itself or in building it from sources, you should refer to the [[Community wiki>>http://dev.xwiki.org/xwiki/bin/view/Main/]]. | ||
37 | If you still have questions you may [[subscribe to the mailing lists>>http://dev.xwiki.org/xwiki/bin/view/Community/MailingLists]] |