RealWeb

Introduction

RealWeb provides the Web developer with access to data held in a Reality database, by making it possible to call a DataBasic subroutine directly from a Web browser by simply specifying a . Subroutines that will be called from RealWeb must be specially written using the supplied DataBasic - this allows the programmer to fetch arguments passed to RealWeb, and to construct an web page that is returned for display in the browser. Alternatively, complete web pages and images can be retrieved from a database.

By using an HTML form, information entered by the user can be included in the URL and passed as arguments to a Reality subroutine. These arguments can be used in various ways - for example, to construct queries or to update the database.

Features

RealWeb consists of a set of Java that run on a Web server and a DataBasic for constructing the web pages that are returned to the browser. Connection between the Web server and Reality is by means of .

Components of RealWeb

Servlets are provided to:

Note

If none of these does what you require, you can write your own RealWeb servlet. Refer to Writing Servlets to Access Reality via RealWeb for details.

RealWeb Connections

RealWeb supports one-shot and persistent connections:

The RealWeb API

The RealWeb is a toolkit that the DataBasic programmer can use to interface to the Web browser - that is, to access arguments passed as part of the and to construct the HTML page that will be returned to the browser. Routines are provided to do the following:

Using RealWeb

The following sections give the information you will need to install and use RealWeb:

Related documentation covering Reality, DataBasic and HTML is listed in Related Documents.