How to package UBOS Standalone Apps built with a variety of languages


UBOS provides two “toy” Apps that help explain how to package and distribute real web Apps on UBOS:

  • “Hello World” is an extremely simple Web applications that just displays Hello World when accessed over the web. We use it to give you a taste for what is involved to package web application for UBOS.

  • “Glad-I-Was-Here” is a slightly more complex “guestbook” web application that uses a relational database to store the guestbook entries. We use it to illustrate how to package web App that use a database. It now comes in four versions:

    • implemented in PHP with a MySQL backend, called gladiwashere-php-mysql;

    • implemented in PHP with a Postgresql backend, called gladiwashere-php-postgresql;

    • implemented in Java with a MySQL backend, called gladiwashere-java-mysql; and

    • implemented in Python/WSGI with a MySQL backend, called gladiwashere-python-mysql

The PHP versions of Glad-I-Was-Here can also be configured with an Accessory called gladiwashere-php-footer. This Accessory adds additional content (a footer) to the main web page. This demonstrates the basic functioning of Accessories.


These toy App are published in the toyapps repository, which is not enabled by default. For how to enable, see How to enable non-standard Package Repositories.

Of course, instead of using the pre-built Apps, you can check out their code at and build them youself with the development setup described in Build and run your first UBOS Standalone App.

You may want to read through the documentation for these Apps in this sequence:

  1. Hello World
  2. Glad-I-Was-Here (PHP, MySQL)
  3. An Accessory for Glad-I-Was-Here (PHP, MySQL)
  4. Glad-I-Was-Here (PHP, Postgresql)
  5. Glad-I-Was-Here (Java, MySQL)
  6. Glad-I-Was-Here (Python, MySQL)