wiki:MapGuideRfc28

Version 3 (modified by chrisclaydon, 17 years ago) ( diff )

--

MapGuide RFC 28 - Web Tier APIs for Fusion support

This page contains an change request (RFC) for the MapGuide Open Source project. More MapGuide RFCs can be found on the RFCs page.

Status

RFC Template Version(1.0)
Submission DateAug 20, 2007
Last ModifiedChris Claydon Timestamp
AuthorChris Claydon
RFC Statusdraft
Implementation Statusunder development
Proposed Milestone1.3
Assigned PSC guide(s)(when determined)
Voting Historynone

Overview

This RFC contains a proposal for new web tier APIs to facilitate the creation of the resources required to build a web application based on the new "Fusion" framework.

Motivation

The new application definition framework (aka Fusion) for MapGuide Open Source web applications is based upon the following components:

1) A set of HTML/CSS templates defining the application's layout and appearance.

2) A set of "widgets" (e.g. Pan, Zoom, Search etc.) that provide functionality for the application.

3) "Application Definition" resources, stored in the MG repository, that provide configuration information for the referenced widgets, and associate them with the panels in an HTML template.

In order to allow authoring applications to build Application Definitions, it must be possible to enumerate the available templates and widgets, and to retrieve information about them.

Proposed Solution

The new APIs would be implemented entirely in the web tier. No modifications are required to the MGOS Server, since the Fusion framework will be part of the web tier deployment.

The APIs would be implemented as HTTP requests, and would use the following operations:

ENUMERATEAPPLICATIONTEMPLATES

ENUMERATEAPPLICATIONWIDGETS

ENUMERATEAPPLICATIONCONTAINERS

Details of each of the new APIs are as follows:

ENUMERATEAPPLICATIONTEMPLATES

Request parameters:

FORMATtext/xml (default) or application/json

Response:

The response will be in XML or JSON format (depending on the FORMAT parameter) and will return the Name, Location (URL), Description and Preview Image URL for each of the available templates.

ENUMERATEAPPLICATIONWIDGETS

Request parameters:

FORMATtext/xml (default) or application/json

Response:

The response will be in XML or JSON format (depending on the FORMAT parameter) and will return the Name, Description, Default Image URL, Default Tooltip, and Type for each of the available widgets.

ENUMERATEAPPLICATIONCONTAINERS

Request parameters:

FORMATtext/xml (default) or application/json

Response:

The response will be in XML or JSON format (depending on the FORMAT parameter) and will return the Name, Description, Preview Image URL, and Type for each of the available container types. Examples of containers are: Toolbar, Context Menu, Status Bar.

Implications

The implementation is entierly in the web tier. All APIs are new and do not affect existing APIs or functionality.

Test Plan

Testing should be carried out by exercising the HTTP APIs in unit tests and via authoring applications.

Funding/Resources

Funding and resources to be supplied by Autodesk.

Note: See TracWiki for help on using the wiki.