Skip to content
ma-ha edited this page Sep 12, 2015 · 9 revisions

Welcome to the REST-web-UI WIKI!

This framework helps you to render a "portal" GUI for a RESTful web service just using the browser:

  • without HTML/JS/CSS coding
  • define web GUI completely descriptive: human readable JSON text file
  • can run in web server (e.g Apache) or starting from file system
  • no server side HTML generation required (JEE, Spring, PHP, nodejs, ...)
  • fast, scalable, extensible
  • easy and CSS friendly arrangement of views (just rows and columns nested in each other)
OK, you still have to describe the web GUI in JSON format, but you can use this tool to make it a lot easier.

Example GUI definition:

 {
 "layout": {
   "title": "Title",
   "header": { 
     "logoURL": "logo.png"
   },
   "rows": [
     {
       "rowId": "myBlog",
       "height": "185px", "decor" : "decor",
       "resourceURL": "blog",
       "type": "pong-list"
     },
     {
       "rowId": "r1",
       "height": "450px",
       "cols": [
         {
           "columnId": "tbl",
           "width": "40%", "decor" : "decor",
           "resourceURL": "resX",
           "type": "pong-table",
           "actions" : [ { "actionName": "Help", "type": "pong-help" } ]
         },
         {
           "columnId": "plot",
           "width": "60%", "decor" : "decor",
           "resourceURL": "gnuplot",
           "callback": "grmh()",
           "actions" : [ { "actionName": "Config", "type": "modal-form" },{ "actionName": "fullWidth" } ]
         }
       ]
     }
   ],
   "footer": {
     "copyrightText": "Copyright 2013, MH.",
     "linkList": [ { "text":"Impressum", "url": "impress.html"}, { "text":"Privacy Note", "url": "privacy.html"} ]	
   }
  }
 }

Complete structure specification is documented here in the WIKI.

Clone this wiki locally