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 URLClosed Uniform Resource Locator - a web address. . Subroutines that will be called from RealWeb must be specially written using the supplied DataBasic APIClosed Application Programming Interface - a set of functions that you can use in your programs to work with a component.  - 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 ServletsClosed A server-side Java program that services HTTP requests and returns HTTP responses.  that run on a Web server and a DataBasic APIClosed Application Programming Interface - a set of functions that you can use in your programs to work with a component.  for constructing the web pages that are returned to the browser. Connection between the Web server and Reality is by means of Remote BASICClosed A mechanism by which DataBasic subroutines can be called from a remote system. .

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 APIClosed Application Programming Interface - a set of functions that you can use in your programs to work with a component. 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 URLClosed Uniform Resource Locator - a web address. 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.