|Version 4 (modified by pagameba, 6 years ago)|
MapGuide RFC 23 - Fusion Integration
This page contains a change request (RFC) for the MapGuide Open Source project. More MapGuide RFCs can be found on the RFCs page.
|RFC Template Version||(1.0)|
|Submission Date||July 24, 2007|
|Last Modified||Paul Spencer |
|RFC Status||Not ready for review|
|Assigned PSC guide(s)|
This RFC updates MapGuide to incorporate DMSG's "Fusion" technology into MapGuide OS to generate applications as an alternative to the existing AJAX viewer.
The existing AJAX viewer has limited capacity for customization, both in functionality and appearance. Modifications require changes that modify every application that runs on the same servers, and are difficult to keep synchronized with changes in the AJAX viewer between releases (bug fixes etc)
Fusion Technical Overview
The functional pieces of a Fusion application are called "Widgets". A widget is a single, discrete piece of functionality. In general, widgets are completely self contained and do not require any other widget to be in the application in order to function although, in practice, some widgets are not very useful without other widgets. A widget typically has some form of representation inside the application, for instance as a button or a legend. Where the widget appears in the application is controlled by the use of HTML id attributes in the application template. Widgets are designed to be created "inside" HTML containers and usually size themselves according to their container. A widget's position in an application is not constrained by the fusion framework in any way, although different widgets are designed to be contained in specific ways. For instance, the container of a Legend widget would typically be a <div> element with a CSS style that would allow the contents to be scrolled if the Legend is larger than the container while a Map's container normally hides overflow. Widgets are designed to be configurable through the ApplicationDefinition. Where a widget's functionality can be customized in some way, optional tags are available in the ApplicationDefinition to specify that customization. In general, the look and feel of a widget is customized by overriding specific CSS classes.
A preview of an application that runs using Fusion is available at http://demo01.dmsolutions.ca/mapguide/fusion/demo. The application includes links to download Fusion and related documentation. The version of Fusion used for this preview is not the final version, so it is recommended not to do any serious development on this version.
In addition to DM Solutions Group's contribution, Autodesk is funding the development of several basic application templates that can be used as the basis for new applications.
Modifications will be made by Autodesk to MapGuide OS to enable storing the ApplicationDefinition resource in the MapGuide repository.
MapGuide OS will be modified to accept a new Resource type, ApplicationDefinition. The schema of an ApplicationDefinition is yet to be determined.
The Fusion code base will be added to the MapGuide SVN inside the www/ folder.
Fusion will be contributed under an MIT license, which is compatible with the LGPL license used by MapGuide OS. Fusion has several dependencies on other libraries ( prototype, scriptaculous, and Explorer Canvas which are all released under compatible licenses. The Jx library is maintained at http://www.jxlib.org and is released under an MIT license.
Supplied by DM Solutions Group and Autodesk.