1
|
<h2>Mapbuilder Configuration file</h2>
|
2
|
|
3
|
<p>
|
4
|
This document explains how to configure a mapbuilder application.
|
5
|
The mapbuilder configuration file controls what components are included
|
6
|
in your application and how the components interact with each other.
|
7
|
This guide is targeted at website builders who have a basic
|
8
|
understanding of HTML, XML and Javascript.
|
9
|
</p>
|
10
|
|
11
|
<p>
|
12
|
The following sections explain the basic principles behind the config file
|
13
|
structure.
|
14
|
The structure of a Mapbuilder config file is
|
15
|
<a href="lib/schemas/config.xsd">described by an XML Schema</a>
|
16
|
and a config file that validates against this schema is guaranteed to
|
17
|
load correctly.
|
18
|
</p>
|
19
|
|
20
|
<ul>
|
21
|
<li><a href="?page=config/mvc">Model-View-Controller design pattern</a></li>
|
22
|
<li><a href="?page=config/opvRule">Object-Property-Value rule</a></li>
|
23
|
<li><a href="?page=config/patterns">common configuration properties</a></li>
|
24
|
<li><a href="?page=config/skins">skins and multilingual support</a></li>
|
25
|
<li><a href="?page=config/listeners">listeners and the Javascript API</a></li>
|
26
|
<li><a href="?page=config/extend">extending mapbuilder</a></li>
|
27
|
<li><a href="register">component register</a></li>
|
28
|
</ul>
|
29
|
|
30
|
<p>
|
31
|
A common way to get started is to copy an existing config file.
|
32
|
You can start with the <a href="/mapbuilder/demo/simple/simpleConfig.xml">configuration</a>
|
33
|
for the <a href="/mapbuilder/demo/simple">simple demo</a> and add in components,
|
34
|
or start with a more complex demo and remove components.
|
35
|
At some point, we intend to produce a Configuration Wizard which will provide
|
36
|
an intuitive graphical interface for assembling the components for an application.
|
37
|
</p>
|
38
|
|
39
|
<p align="right">
|
40
|
<a href="?page=samples/intro">previous</a>
|
41
|
<a href="?page=config/mvc">next</a>
|
42
|
</p>
|