doc:webui_guide
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
doc:webui_guide [2015/12/28 09:59] – admin | doc:webui_guide [2017/02/04 18:28] – [Folder Structure] admin | ||
---|---|---|---|
Line 26: | Line 26: | ||
===== Structure of a script package ===== | ===== Structure of a script package ===== | ||
- | The invidual script application can exist in three different versions: | + | The invidual script application can exist in for different versions: |
- | - as well known compiled lua file with the extension .lbc | + | - as well known compiled lua file with the extension .lbc or .pgp |
- as directory with the suffix .epa | - as directory with the suffix .epa | ||
- as package file, also with the suffix .epa | - as package file, also with the suffix .epa | ||
- | ==== the .lbc file ==== | + | ==== the .lbc and .pgp file ==== |
- | when a lbc file is choosen, the browser loads the default file, referenced as ''/ | + | when a lbc or .pgp file is choosen, the browser loads the default file, referenced as ''/ |
==== the .epa directory or file ==== | ==== the .epa directory or file ==== | ||
Line 50: | Line 50: | ||
{ " | { " | ||
- | The parameters used by OOBD are actual | + | The parameters used by OOBD to start a script and to send back a adjacend web page are actual |
^ Parameter | ^ Parameter | ||
Line 56: | Line 56: | ||
| startpage | | startpage | ||
- | As this manifest file can also be loaded as '' | + | where the '' |
+ | As this manifest file can also be loaded as '' | ||
+ | |||
+ | |||
+ | ==== " | ||
+ | |||
+ | Whenever the root page ("/" | ||
+ | |||
+ | This changes as soon as a packet is adressed not by it's filename, but by his id (which is, in fact, the base64 encoded format of the filename). When this happens, that package becomes the new virtual root directory of the webserver until the pure root page ("/" | ||
+ | |||
+ | |||
+ | |||
+ | ---- | ||
===== The Communication Handshake ===== | ===== The Communication Handshake ===== | ||
Line 71: | Line 83: | ||
- | < | + | < |
digraph G { | digraph G { | ||
rankdir=TB; | rankdir=TB; | ||
Line 171: | Line 183: | ||
+---yoursecretcontent | +---yoursecretcontent | ||
</ | </ | ||
+ | ---- | ||
===== The meaning of the folder structure ===== | ===== The meaning of the folder structure ===== | ||
Line 201: | Line 213: | ||
in the '' | in the '' | ||
+ | |||
doc/webui_guide.txt · Last modified: 2017/02/04 18:28 by admin