Application

From MapbenderWiki

(Redirected from GUI)
Jump to: navigation, search

(deutsche Version weiter unten!)

Application

A Mapbender Application in an HTML page optionally with JavaScrip that contains all elements needed to by the user (hence the old term GUI (deprecated)). In the Mapbender backend the Application is modeled as a relation between users, interface elements and services (OGC WMS and WFS). Each Application consists of at least one service or one HTML element. There are three main types of applications:

  • Map Application - This is the most common application. It usually contains a map and navigation tools as zoom-in, zoom-out, pan, etc.
  • Administration Application - This type of web interface is used to manage services, applications and users. It also manages user permissions, monitoring and editing of metadata.
  • Service Container - This type of application usually only contains links to services but no HTML elements. It is used to structure and organize services, metadata and user permission.

The application is an integral element of the Mapbender authorization system because it defines the permissions of each user on each service. Permissions may include displaying and reprojection maps, querying information from map objects, or digitizing and deleting features from an OGC Web Feature Service.

Creating new Applications

New Applications can be created with the Interface Management application. All elements contained in the default applications (for example <gui1>) can be added to other user generated applications. Examples for control elements are map window (mapframe1) or the zoom button, a layer selection, print preview, an administration interface or an editing window (see Modules for a complete list).

Working with one of the default Applications may be sufficient for a start. In the long run developing your own applications with your own layout will obviously provide more pleasing results. You can and also share your Application with other Mapbender users. This way the user community gets access to a growing number of interface themes and buttons.

All attributes of the interface are managed in the Mapbender database. You can share any interface by exporting the corresponding SQL from the database. Additional Modules can be implemented and included as scripts (most will be develped in PHP and JavaScript). These code fragments are also part of the interface. If you implement your own module and believe that it could be useful for others consider posting them to the developer Mailing List.

Deutsch

Anwendungen (Applications) sind HTML-Seiten mit Bedienelementen (oder Steuerelementen) und optional JavaScript-Modulen. Sie enthalten sämtliceh Funktionalität, die im Browser ausgeführt wird, sowie eine Liste der Ressourcen (Kartendienste, OGC WMS WFS, etc.), die mit der Anwendung angezeigt, abgefragt oder verändert werden sollen. Neue Anwendungen können mit Mapbender schnell und komfortabel über eine Web-Oberfläche erstellt werden. Der Abschnitt Interface Management beschreibt wie das geht.

Ein Bedienelement kann z.B. ein Kartenfenster oder Zoom-Knopf sein, aber auch die Ebenenauswahl, eine Druckansicht, eine Administrationsoberfläche oder ein Editierfenster (siehe Modules). Alle Oberflächen können individuell gestaltet und beliebigen Benutzern zugeordnet werden.

Für die ersten Schritte reicht es aus, mit einer der ausgelieferten Oberflächen zu arbeiten. Diese können später in eigene Anwendungen mit eigenem Layout und für Ihre Aufgaben optimierter Funktionalität überführt werden. Sie können diese Oberflächen auch anderen Anwendern zur Verfügung stellen.

Alle Elemente und Dienste einer Anwendung werden in der Mapbender Datenbank abgebildet und können als SQL-Befehle exportiert und importiert werden. Auf diese Weise entsteht eine wachsende Anzahl von Spezialoberflächen. Neue Module können in PHP und JavaScript auch selbst erstellt und in jede Anwendung eingebunden werden.

Views
Personal tools