GWA demos and examples

Demos and examples are provided for Genero Web Application.

GWA demos are located in your GWA installation directory. If installed in FGLDIR, you will find the demos in $FGLDIR/demo/gwa; if installed in a separate directory, you will find them in gwa-install-dir/demo/gwa.

Each demo sits in its own directory:
  • debug: shows how to debug a gwa application using the gwadb debugging tool.
  • fgldemo: demonstrates the desktop demo application running inside the browser.
  • gwa: provides a general demo of a gwa app.
  • update: shows how to update a gwa app, using gwabuildtool --app-version build flag and the gwa.app module to retrieve version information.
  • vscode: shows which additional files are needed to work with Visual Studio Code.
  • webcos: demonstrates use of web components using FGL built-in web components.
Each directory contains the program files (.4gl, .per, and so on) and resource files (images, database files, web components) needed by the GWA demo application. If provided, read the README file.

To run these demo applications, you will need to compile the sources and build a GWA application for each demo. If you have make installed, run the Makefile included with each demo; otherwise, follow the instructions to build and run the GWA in Build and deploy the application.