Wiki source code of Applications
Version 1.11 by Vincent Massol on 2007/07/01
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | 1 Applications | ||
2 | |||
3 | As you've learnt from the [Programming feature>UserGuide.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. | ||
4 | |||
5 | Applications offer a powerful way to create advanced content within wiki pages. The [Event Calendar>Main.EventCalendar], the [Photos Albums>Photos.WebHome] and the [Blog>Blog.WebHome] are good examples of XWiki applications. | ||
6 | |||
7 | ~~Screenshot of the Calendar Application~~ | ||
8 | |||
9 | {image:Calendar.png} | ||
10 | |||
11 | 1.1.1 List of Applications available for download on XWiki.org | ||
12 | |||
13 | This is a list of packaged applications you can import in your wiki, coming straight from the [Code Zone>Code.WebHome]. To learn more about the Import/Export process please check the [Admin Guide's Import/Export page>AdminGuide.ImportExport]. | ||
14 | |||
15 | #set ($sql = ", BaseObject as obj where obj.name=doc.fullName and obj.className='XWiki.ApplicationClass' and obj.name<>'XWiki.ApplicationClassTemplate'") | ||
16 | #set ($applications = $xwiki.searchDocuments($sql)) | ||
17 | #foreach ($item in $applications) | ||
18 | * [$item] | ||
19 | #end |