Wiki source code of Applications & Plugins
Version 22.1 by Silvia Macovei on 2009/10/19
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{box cssClass="floatinginfobox" title="**Contents**"}}{{toc/}}{{/box}} | ||
2 | |||
3 | = Applications = | ||
4 | |||
5 | 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. | ||
6 | |||
7 | Applications offer a powerful way to create advanced content within wiki pages. | ||
8 | |||
9 | == Example Applications == | ||
10 | |||
11 | === Calendar Application === | ||
12 | |||
13 | //Screenshot of the Calendar Application// | ||
14 | |||
15 | image:Calendar.png | ||
16 | |||
17 | === Meeting Manager Application === | ||
18 | |||
19 | //Screenshot of the Meeting Manager Application// | ||
20 | |||
21 | image:MeetingManager.PNG | ||
22 | |||
23 | === Bulletin Board Application === | ||
24 | |||
25 | //Screenshot of the Bulletin Board Application// | ||
26 | |||
27 | image:BulletinBoardTopic.png | ||
28 | |||
29 | === Polls Application === | ||
30 | |||
31 | //Screenshot of the Polls Application// | ||
32 | |||
33 | image:Polls.png | ||
34 | |||
35 | == List of Applications available for download on XWiki.org == | ||
36 | |||
37 | 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]]. | ||
38 | |||
39 | {{velocity}} | ||
40 | #set ($sql = ", BaseObject as obj where obj.name=doc.fullName and obj.className='XWiki.ApplicationClass' and obj.name<>'XWiki.ApplicationClassTemplate' order by doc.name") | ||
41 | #set ($applications = $xwiki.searchDocumentsNames("code", $sql, 0, 0, null)) | ||
42 | #foreach ($item in $applications) | ||
43 | * [[code:$item]] | ||
44 | #end | ||
45 | #set ($dummy = $context.setDatabase("platform")) | ||
46 | {{/velocity}} | ||
47 | |||
48 | == Creating new Applications == | ||
49 | |||
50 | 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. | ||
51 | 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/]]. | ||
52 | If you still have questions you may [[subscribe to the mailing lists>>http://dev.xwiki.org/xwiki/bin/view/Community/MailingLists]]. | ||
53 | |||
54 | =Plugins= | ||
55 | |||
56 | Plugins are a powerful way to extend XWiki's intrinsic features. Actually lots of the XWiki features you can see are brought by plugins bundled with the XWiki distributions. | ||
57 | |||
58 | == Using a Plugin == | ||
59 | |||
60 | First check the [[Code Zone>>code:Plugins.WebHome]] to find a Plugin you'd like to use. Then copy its JAR (Plugins are bundled as JARs) into your XWiki installation: drop it in XWiki WAR's //WEB-INF/lib// directory. You'll need to restart XWiki for it to take effect. Please note that this is an administrative task so you'll want to ask your wiki admin for help in doing this. | ||
61 | |||
62 | == Developing a Plugin == | ||
63 | |||
64 | If you'd like to develop a plugin please check the [[plugin development tutorial>>DevGuide.CreatingPlugins]]. | ||
65 | If you still have questions you may [[subscribe to the mailing lists>>http://dev.xwiki.org/xwiki/bin/view/Community/MailingLists]] |