Wiki source code of Applications, Extensions & Flavors
Version 37.7 by Vincent Massol on 2017/09/07
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{box cssClass="floatinginfobox" title="**Contents**"}} | ||
2 | {{toc/}} | ||
3 | {{/box}} | ||
4 | |||
5 | = Applications = | ||
6 | |||
7 | As you've learned from the [[Programming feature>>platform:Features.Programming]], it's possible to put code inside wiki pages. You can combine several pages together to form an application. In other words an application is simply a self-contained set of wiki pages. You can export these pages into a single ZIP 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. | ||
8 | |||
9 | Applications offer a powerful way to create advanced content within wiki pages. | ||
10 | |||
11 | Here are some examples of [[Applications that you can find on xwiki.org>>extensions:Main.WebHome]] and that you can [[install in your wiki>>extensions:Extension.Extension Manager Application]] (click on the images to see them in full screen). | ||
12 | |||
13 | (% class="row cards" %) | ||
14 | ((( | ||
15 | (% class="col-xs-12 col-sm-6 col-md-4 cards-container" %) | ||
16 | ((( | ||
17 | (% class="card card2" %) | ||
18 | ((( | ||
19 | (% class="card-body" %) | ||
20 | ((( | ||
21 | (% class="card-title" %) | ||
22 | ((( | ||
23 | //[[Mocca Calendar Application>>extensions:Extension.MoccaCalendar]]// | ||
24 | ))) | ||
25 | |||
26 | (% class="card-subtitle mb-2" %) | ||
27 | ((( | ||
28 | {{image reference="MoccaCalendar.png" width="350px"/}} | ||
29 | ))) | ||
30 | ))) | ||
31 | ))) | ||
32 | ))) | ||
33 | |||
34 | (% class="col-xs-12 col-sm-6 col-md-4 cards-container" %) | ||
35 | ((( | ||
36 | (% class="card card2" %) | ||
37 | ((( | ||
38 | (% class="card-body" %) | ||
39 | ((( | ||
40 | (% class="card-title" %) | ||
41 | ((( | ||
42 | //[[Meeting Application>>extensions:Extension.Meeting Application]]// | ||
43 | ))) | ||
44 | |||
45 | (% class="card-subtitle mb-2" %) | ||
46 | ((( | ||
47 | {{image reference="MeetingApplication.png" width="350px"/}} | ||
48 | ))) | ||
49 | ))) | ||
50 | ))) | ||
51 | ))) | ||
52 | |||
53 | (% class="col-xs-12 col-sm-6 col-md-4 cards-container" %) | ||
54 | ((( | ||
55 | (% class="card card2" %) | ||
56 | ((( | ||
57 | (% class="card-body" %) | ||
58 | ((( | ||
59 | (% class="card-title" %) | ||
60 | ((( | ||
61 | //[[Forum Application>>extensions:Extension.ForumApplication]]// | ||
62 | ))) | ||
63 | |||
64 | (% class="card-subtitle mb-2" %) | ||
65 | ((( | ||
66 | {{image reference="ForumApplication.png" width="350px"/}} | ||
67 | ))) | ||
68 | ))) | ||
69 | ))) | ||
70 | ))) | ||
71 | ))) | ||
72 | |||
73 | (% class="row cards" %) | ||
74 | ((( | ||
75 | (% class="col-xs-12 col-sm-6 col-md-4 cards-container" %) | ||
76 | ((( | ||
77 | (% class="card card2" %) | ||
78 | ((( | ||
79 | (% class="card-body" %) | ||
80 | ((( | ||
81 | (% class="card-title" %) | ||
82 | ((( | ||
83 | //[[Ideas Application>>extensions:Extension.Ideas]]// | ||
84 | ))) | ||
85 | |||
86 | (% class="card-subtitle mb-2" %) | ||
87 | ((( | ||
88 | {{image reference="IdeasApplication.png" width="350px"/}} | ||
89 | ))) | ||
90 | ))) | ||
91 | ))) | ||
92 | ))) | ||
93 | ))) | ||
94 | |||
95 | = Extensions = | ||
96 | |||
97 | [[Extensions>>extensions:Main.WebHome]] are adds-on that can be installed inside a running XWiki using the [[Extension Manager>>extensions:Extension.Extension Manager Application]]. Applications (described above) are a special type of Extensions but there are other types. For example, you could install the Markdown Syntax, LDAP integration or others, which are not Applications (Applications are made of wiki pages). | ||
98 | |||
99 | = Flavors = | ||
100 | |||
101 | A [[Flavor>>extensions:Extension.Flavor Module]] is a set of Extensions working together to achieve a goal. When you first start XWiki, you can pick the Flavor you want your wiki to be, from a list of existing Flavors. | ||
102 | |||
103 | Examples of Flavors: | ||
104 | |||
105 | * [[Standard>>extensions:Extension.XWiki Standard Flavor.WebHome]]. This is the generic Flavor developed by the XWiki Dev Team. It can be used for various purposes, one of them being a Knowledge Base | ||
106 | * [[Demo>>extensions:Extension.Demo Flavor.WebHome]]. This is special Flavor showcasing several recommended Extensions. Can be used to discover XWiki and its features. | ||
107 | * Web Site | ||
108 | * Collaborative Intranet | ||
109 | * Knowledge Base | ||
110 | |||
111 | When you start XWiki for the first time, you'll get the [[Distribution Wizard>>Documentation.UserGuide.Features.DistributionWizard]] and one of the steps will let you pick the Flavor you wish to have for your wiki: | ||
112 | |||
113 | {{image reference="flavors.png"/}} | ||
114 | |||
115 | = Creating Applications & Extensions = | ||
116 | |||
117 | * If you'd like to create new applications with XWiki our [[Developer's Guide>>platform:DevGuide.WebHome]] will help you through the process. | ||
118 | * If you are interested in participating to the XWiki project development itself or in building it from sources, you should refer to the [[XWiki development community>>dev:Main.WebHome]]. | ||
119 | * If you still have questions you may [[post on the Forum>>dev:Community.Discuss]]. |