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)
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
URL.
Subroutines that will be called from RealWeb must be specially written using the
supplied DataBasic API
- 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.
RealWeb consists of a set of Java
Servlets that
run on a Web server and a DataBasic
API
for constructing
the web pages that are returned to the browser. Connection between the Web server and
Reality is by means of
Remote BASIC
.
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 supports one-shot and persistent connections:
The RealWeb APIis a toolkit that the DataBasic programmer can use to interface to the Web browser
- that is, to
access arguments passed as part of the
URL
and to construct the HTML page that
will be returned to the browser. Routines are provided to do the following:
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.