Internet - creating web pages with SculptorΒΆ

Since Version 5 Sculptor contains all the features necessary to develop an efficient Internet or Intranet application. It supports direct communication with a web browser, and includes an interpreter module called nph-srep, which is capable of running a standard Sculptor report program, a Sculptor template file or both. Web pages created with nph-srep can be accessed by all Internet users; there is no requirement that Sculptor be installed on their machine.

The Sculptor print command can be used to output HTML code into the web page. However, this is not a requirement; very powerful, dynamic web pages can be created using only Sculptor HTML tags in the template page.

Report programs run by nph-srep use the standard Sculptor commands print and put for the purpose of creating a web page, or inserting the output of a report into a web page at a point defined inside an HTML file. Special tags, recognised and processed by Sculptor, can be inserted into file templates for this purpose.

A session file is used to store and control details of each session of interactions between the web browser and server.

An extensive range of functions is provided for managing sessions, placing cookies, retrieving the names and values of web page parameters and cookies, redirecting requests and encoding strings into valid URL format.

Demonstration programs containing working, easily comprehensible Internet applications are provided in the directory $SCULPTOR/demo/internet.

See also: