/
documentation-html-00693.xml
15 lines (14 loc) · 1.25 KB
/
documentation-html-00693.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?xml version="1.0" encoding="UTF-8"?>
<DocumentationHtmls xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="opencms://system/modules/com.alkacon.opencms.documentation/schemas/documentation-html.xsd">
<DocumentationHtml language="en">
<Html name="Html0">
<links/>
<content><![CDATA[<p>A very common approach is to package each functionality in a separate module. That means:</p>
<ul>
<li>One module containing the template JSP, and resources common for all pages (like some images and JavaScripts, maybe also some Java library). The module does typically not expose content types.</li>
<li>One module for each content type (or dynamic function). Each such module contains the schema, the formatters and the formatter configurations as well as resources such as Java libraries, CSS, JavaScripts and message bundles, specific for the content type.</li>
</ul>
<p>The big advantage of this approach is that you can exchange (in particular update) and reuse each of the small modules independently. You can also easily add new functionality or remove existing functionality by adding or removing modules (given that all dependencies are still fulfilled).</p>]]></content>
</Html>
</DocumentationHtml>
</DocumentationHtmls>