1 |
3032
|
perry
|
<h2>Introduction</h2>
|
2 |
|
|
|
3 |
|
|
<p>
|
4 |
|
|
Mapbuilder is an open source project that implements a framework
|
5 |
|
|
dynamic web page content from XML documents.
|
6 |
|
|
The techniques used by this package are now being called
|
7 |
|
|
<a href="http://www.adaptivepath.com/publications/essays/archives/000385.php">AJAX</a>
|
8 |
|
|
which is shorthand for Asynchronous JavaScript + XML.
|
9 |
|
|
</p>
|
10 |
|
|
|
11 |
|
|
<p>
|
12 |
|
|
Mapbuilder consists of a JavaScript library that
|
13 |
|
|
implements the Model-View-Controller (MVC) design pattern.
|
14 |
|
|
The model, view and controller objects to be used in the web page are configured
|
15 |
|
|
in an XML configuration file.
|
16 |
|
|
The schema of the configuration file is derived from RDF and is fully described
|
17 |
|
|
in the <a href="?page=config/config">mapbuilder configuration documentation</a>.
|
18 |
|
|
</p>
|
19 |
|
|
|
20 |
|
|
<p>
|
21 |
|
|
This User Guide explains how to configure and link Mapbuilder components into a web page.
|
22 |
|
|
Several different Mapbuilder configurations will be demonstrated along with some
|
23 |
|
|
ideas for how to include it in the web page layout.
|
24 |
|
|
The target audience for this tutorial is those tasked with implementing an
|
25 |
|
|
application in HTML and have a basic understanding of HTML, XML and Javascript.
|
26 |
|
|
Developer's seeking to extend or modify the code-base should consult
|
27 |
|
|
the mapbuilder <a href="?page=reference#mapbuilder">design documentation.</a>
|
28 |
|
|
</p>
|
29 |
|
|
|
30 |
|
|
<p>
|
31 |
|
|
One design goal of mapbuilder is to let page designers do page layout
|
32 |
|
|
and design, and simply link in mapbuilder JavaScript code using HTML element IDs.
|
33 |
|
|
Being a JavaScript implementation, CSS and DHTML techniques are then used for
|
34 |
|
|
manipulating these elements.
|
35 |
|
|
</p>
|
36 |
|
|
|
37 |
|
|
<p>
|
38 |
|
|
Mapbuilder was originally conceived to render
|
39 |
|
|
<a href="?page=reference#ogc">Web Map Context documents</a>
|
40 |
|
|
to create interactive mapping applications on the web.
|
41 |
|
|
However the modular design framework
|
42 |
|
|
allows mapbuilder to be extended to handle almost any XML document type.
|
43 |
|
|
</p>
|
44 |
|
|
|
45 |
|
|
<p>
|
46 |
|
|
The tutorial starts with the common steps required to code a mapbuilder
|
47 |
|
|
application.
|
48 |
|
|
</p>
|