External Interfaces > RealWeb > Introduction to RealWeb (RealWeb)

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

RealityV15.1Online Documentation (MoTW) Revision 7

Introduction to RealWeb (RealWeb) (intro.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

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. Subroutines that will be called from RealWeb must be specially written using the supplied DataBasic APIClosed - 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 that run on a Web server and a DataBasic APIClosed for constructing the web pages that are returned to the browser. Connection between the Web server and Reality is by means of Remote BASICClosed.

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 APIClosedis a toolkit that the DataBasic programmer can use to interface to the Web browser - that is, to access arguments passed as part of the URLClosedand 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.

RealityV15.1 (MoTW) Revision 7Comment on this topic