wiki:CodeSamples/Fusion/SuperSimple

Version 5 (modified by jbirch, 16 years ago) ( diff )

--

This page is one of the MapGuide Community CodeSamples. Visit the CodeSamples page to view more!

Introduction

SuperSimple is an example of an extremely simple Fusion application with an associated ApplicationDefinition. This does not use the template concept or any JavaScript or Jx calls other than what is contained in Fusion. This should probably not be used as the basis for developing Fusion apps, just as a starting point for understanding the relationship between the HTML, CSS, and ApplicationDefinition.xml files.

Installation

To install this (on Windows) unzip the contents of the attached zipfile into the following directory:


 C:\Program Files\MapGuideOpenSource2.0\WebServerExtensions\www\fusion\samples\mapguide\

You can then access this as (changing your hostname and port as required):


http://localhost:8008/fusion/samples/mapguide/supersimple/index.html

What next?

Once you are familiar with this minimalist application, you will want to explore the bundled Fusion templates stored at:


 C:\Program Files\MapGuideOpenSource2.0\WebServerExtensions\www\fusion\templates\mapguide\

... probably starting with the "learn" template.

These provide much more insight into the use of the flexible Jx library for layout, and how to create a proper template that can be used in future GUI application definition builders.

Attachments (1)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.