Changes between Initial Version and Version 1 of MapGuideRfc28


Ignore:
Timestamp:
08/20/07 09:00:30 (17 years ago)
Author:
chrisclaydon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideRfc28

    v1 v1  
     1= !MapGuide RFC 28 - Web Tier APIs for Fusion support =
     2
     3This page contains an change request (RFC) for the !MapGuide Open Source project. 
     4More !MapGuide RFCs can be found on the [wiki:MapGuideRfcs RFCs] page.
     5
     6
     7== Status ==
     8 
     9||RFC Template Version||(1.0)||
     10||Submission Date||Aug 20, 2007||
     11||Last Modified||Chris Claydon [[Timestamp]]||
     12||Author||Chris Claydon||
     13||RFC Status||draft||
     14||Implementation Status||under development||
     15||Proposed Milestone||1.3||
     16||Assigned PSC guide(s)||(when determined)||
     17||'''Voting History'''||none||
     18 
     19== Overview ==
     20
     21This 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.
     22
     23== Motivation ==
     24
     25The new application definition framework (aka Fusion) for !MapGuide Open Source web applications is based upon the following components:
     26
     271) A set of HTML/CSS templates defining the application's layout and appearance.
     28
     292) A set of "widgets" (e.g. Pan, Zoom, Search etc.) that provide functionality for the application.
     30
     313) "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.
     32
     33In 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.
     34
     35== Proposed Solution ==
     36
     37The 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.
     38
     39The APIs would be implemented as HTTP requests, and would use the following operations:
     40
     41ENUMERATEAPPLICATIONTEMPLATES
     42
     43ENUMERATEAPPLICATIONWIDGETS
     44
     45ENUMERATEAPPLICATIONCONTAINERS
     46
     47Details of each of the new APIs are as follows:
     48
     49=== ENUMERATEAPPLICATIONTEMPLATES ===
     50
     51Request parameters:
     52
     53||FORMAT||text/xml (default) or application/json||
     54||REFRESH||0 (default) or 1 to indicate whether to use cached information or to refresh the list from the source files||
     55
     56Response:
     57
     58The response will be in XML or JSON format (depending on the FORMAT parameter) and will return the Name, URL, Description and Preview Image URL for each of the available templates.
     59
     60=== ENUMERATEAPPLICATIONWIDGETS ===
     61
     62Request parameters:
     63
     64||FORMAT||text/xml (default) or application/json||
     65||REFRESH||0 (default) or 1 to indicate whether to use cached information or to refresh the list from the source files||
     66
     67Response:
     68
     69The response will be in XML or JSON format (depending on the FORMAT parameter) and will return the Name, Description and Preview Image URL for each of the available widgets.
     70
     71=== ENUMERATEAPPLICATIONCONTAINERS ===
     72
     73Request parameters:
     74
     75||FORMAT||text/xml (default) or application/json||
     76||REFRESH||0 (default) or 1 to indicate whether to use cached information or to refresh the list from the source files||
     77
     78Response:
     79
     80The response will be in XML or JSON format (depending on the FORMAT parameter) and will return the Name, Description and Preview Image URL for each of the available container types. Examples of containers are: Toolbar, Context Menu, Status Bar.
     81
     82== Implications ==
     83
     84The implementation is entierly in the web tier. All APIs are new and do not affect existing APIs or functionality.
     85
     86== Test Plan ==
     87
     88Testing should be carried out by exercising the HTTP APIs in unit tests and via authoring applications.
     89
     90== Funding/Resources ==
     91
     92Funding and resources to be supplied by Autodesk.